We need to improve the query class to better support range queries (so we can eliminate e.g. function _hack_parse_date_range()). Also, we should improve the handling of the sort string so that field aliases work there.

Comments

pwolanin’s picture

Status: Active » Needs work
StatusFileSize
new22.74 KB
pwolanin’s picture

The code might be simpler if we use PREG_SET_ORDER vs. the default PREG_PATTERN_ORDER

pwolanin’s picture

StatusFileSize
new28.55 KB
Scott Reynolds’s picture

subs

pwolanin’s picture

Status: Needs work » Needs review
StatusFileSize
new37.2 KB

More, much more. And it mostly works.

pwolanin’s picture

StatusFileSize
new38.61 KB

better still.

pwolanin’s picture

StatusFileSize
new39.39 KB

fixes a date facet bug, plus some more minor cleanup

pwolanin’s picture

Status: Needs review » Fixed

committed to 6.x

pwolanin’s picture

Status: Fixed » Needs review
StatusFileSize
new1.76 KB

follow-up patch for handling of negative queries (still breaks on field aliases, but with this at least works for book facets without field aliases)

pwolanin’s picture

Status: Needs review » Fixed

committed - but makes me think we need to really pull out the prefix as a separate attribute of each saved filter.

pwolanin’s picture

StatusFileSize
new982 bytes

committing one more very minor fix - we need a char before 0 in the ASCII table, not after.

pwolanin’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.