Additional filter changes: work status, crossover, word count range, date range

Description

While we're in the midst of our search upgrades, we want to take advantage of some new fields and new code to expand the filters a bit.

To do:

  • Change the 'complete' ticky into a radio button allowing you to choose complete/incomplete/both kinds of works.

  • Add a crossover radio button that works the same way (yes/no/both).

  • Add a word count filter option.

  • Add a date filter option with a standard jquery datepicker. (Should work on mobile devices, be appropriately accessible, and allow users to type directly in the field if they prefer.)

There should also be a help page for crossovers to explain what we're doing there.

Activity

Show:

Veronica M 
March 31, 2018 at 8:42 PM

Also works on Chrome for Windows (64.0) and Firefox for Windows (58.0.2).

Note that the blue question mark link for "Crossovers" isn't working on either mobile or desktop Firefox. All other blue question marks are fine, and it's working on Chrome.

And here are a couple of general comments, while I'm thinking about them (maybe for consideration in the future?):

  • It might be helpful to add some information about the required date format, like with a blue question mark blurb for "Date Updated", or make the header "Date Updated (YYYY-M-D)". Any user who doesn't use the picker first to see the correct format might get confused. Using the wrong one doesn't provide an explanation, as it just returns an empty list or a list with no additional filtering.

  • Adding a way to navigate by year in the picker would also be useful. If you go back very far, clicking the "Prev" and "Next" over and over is very tedious, and on mobile apps, the links are small. When I accidentally clicked outside of the box, I generally had to reopen Sort and Filter and start over from the beginning.

Lady Oscar 
March 31, 2018 at 8:32 PM

Hopefully this is mysteriously fixed.

Sarken 
March 31, 2018 at 8:17 PM

I can type in the date picker fields now! I have no idea why – I don't think Safari updated recently – but

Veronica M 
March 31, 2018 at 8:08 PM
(edited)

Works fine on Android Chrome (65.0) and Android Firefox (59.0.2).

Note: discrepancies in dates displayed for individual works might make results list look a bit unexpected. Specifically, for my first test, the last two works in the list showed update dates from outside the range (the date just before the first date specified). However, looking at the two work pages, the dates were listed as the first date in the range. Seems like the incorrect dates showing in the list were due to an indexing or caching issue, rather than a search/query failure.

cosette 
March 31, 2018 at 7:47 PM

works fine on

iOS 10.3.1 Safari
Mac Chrome (newest version)
Mac Safari 8.0.5
Mac Firefox 58
Mac Opera (newest version)

on ios, when you click on the field it zooms in and you have to zoom out to see the full calendar, but that's not a big problem i don't think... and apparently it can be fixed by making the font-size in the input fields 16px or more

DeployedToBeta

Details

Assignee

Reporter

Roadmap

Search

Priority

Affects versions

Fix versions

Components

BackEnd

Difficulty

Milestone

Sentry

Created December 1, 2017 at 8:31 PM
Updated May 10, 2018 at 11:11 PM
Resolved May 10, 2018 at 11:11 PM