Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting results by date and by type #141

Open
charlesreid1 opened this issue Oct 24, 2018 · 1 comment
Open

Sorting results by date and by type #141

charlesreid1 opened this issue Oct 24, 2018 · 1 comment

Comments

@charlesreid1
Copy link
Contributor

charlesreid1 commented Oct 24, 2018

we can sort by type, but only aphabetically, and it's really awkward.

need a set of checkboxes to select/filter document types (link form elements to filtering a data table).

need to have a date field if it is available, use modified time if available but otherwise use created time. and make it a separate column that's sortable. things are going to get crowded.

might require rethinking the design to be something more like...

+-------------------------------------------------------+
|                                                       |
|            c e n t i l l i o n                        |
|                                                       |
|  +---------------------------------------------+      |
|  | input: search box                           |      |
|  +---------------------------------------------+      |
|  +---------------------------------------------+      |
|  | input: search filters/options/etc           |      |
|  +---------------------------------------------+      |
|  +----+  +-------------------------------------+      |
|  |    |  |                                     |      |
|  | 1  |  |  2                                  |      |
|  |    |  |                                     |      |
|  +----+  +-------------------------------------+      |
|                                                       |
|   1 = score                                           |
|                                                       |                       +
|   2 = search result title                             |                       +
|       search result date                              |
|       search result link                              |
|       search result summary                           |
|                                                       |
|                                                       |
|                                                       |
|                                                       |
|                                                       |
+-------------------------------------------------------+

@charlesreid1
Copy link
Contributor Author

This should be revisited now that we have the single column results format.

Two options:

  • let users sort by date or by score (radio button)
  • let users filter types of document results (checkboxes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant