Comment 1 for bug 1470957

Revision history for this message
Mike Rylander (mrylander) wrote :

This comes from a lack of stock configuration for normalizing the pubdate sorter. We also don't install the normalizers for date1 and date2, which is also addressed herein. The latter will help before, after, between, and during searches.

From the commit message:

We supply a normalizer function for making sure date-ish values are
always numeric (several, in fact) but we don't enable them by default
for appropriate fields. This does that.

Additionally, we allow NULL sorters so that the reingest of a "broken"
record will get fixed.

We avoid the need for a reingest to cover the sorter issue by removing
non-numeric pubdate sorters.

Branch coords: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/miker/lp1470957-allow-null-FF-sorter-via-normalization

Test plan
--------------

Sort a result containing date1 values that equal "||||" by date descending, and the "bad" values will be at the top. Apply patch and they'll be at the bottom as they should be.

No release notes, as this is a bug fix for pubdate sorting.