LP#1310751: Reorder query-building wrapper for QueryParser user/miker/lp_1310751-query-parser-wrapper-reorder
authorMike Rylander <mrylander@gmail.com>
Wed, 14 May 2014 15:54:47 +0000 (11:54 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 14 May 2014 18:39:53 +0000 (14:39 -0400)
commit0b234abec9d74be646be1aa0485ac15ba8e49ace
tree05b72625fa4c80042c459bfacb702e1a7188db17
parentc04958b12b5ea91c68a41b891d1443fd868c9400
LP#1310751: Reorder query-building wrapper for QueryParser

In order to make sure that the transparent boolean pushdown does
not cause filters and modifiers to end up deeply embedded in the
query tree, we put them at the front.

This is a short-term fix.  Long-term, we need to make use of the
floating subquery syntax ( {{ ... }} ) available in QueryParser,
which is designed to address the semantic separation between what
the user types into the search box, and the various UI widgets that
can add query clauses.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm