LP1629108 metarecord_constituent_result_reroute
authorblake <blake@mobiusconsortium.org>
Mon, 13 Feb 2017 21:19:45 +0000 (15:19 -0600)
committerblake <blake@mobiusconsortium.org>
Mon, 13 Feb 2017 21:19:45 +0000 (15:19 -0600)
commit0bb8deebafb61b91ba4904ff54f02a468cddbac0
tree1d691d07e3b8e8eb6395a5d69b46e079d9bee6ed
parentf7215da5476e8fd73f5a2136ecde39e721c1000f
LP1629108 metarecord_constituent_result_reroute

This patch will route the metasearch logic through the "standard" search logic
in order to leverage the heavy use of filters and other features.

A column is introduced to unapi.mmr_mr to include the constituent bibs in the
return. A tweak was required in the template toolkit code to take advantage of the
new payload. This enables TT to decide which icons should be displayed when search
results are filtered.

Signed-off-by: blake <blake@mobiusconsortium.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/t/regress/lp1629108_metarecord_constituent_result_reroute.pg [new file with mode: 0755]
Open-ILS/src/sql/Pg/upgrade/XXXX.metarecord_constituents_search_result_page_should_use_standard_search_code.sql [new file with mode: 0755]
Open-ILS/src/templates/opac/parts/misc_util.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2