LP#1663374: Allow metarecord searching by default
authorMike Rylander <mrylander@gmail.com>
Wed, 7 Dec 2016 21:47:01 +0000 (16:47 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 10 Feb 2017 02:00:31 +0000 (21:00 -0500)
commit889bb9fb1091b9d7b356888c93a3fbe0a2eb87b2
tree108a89b982ef25666014c83382b7652eb2927048
parentc6dc037017fd495966667ab20fc69b21ede013b4
LP#1663374: Allow metarecord searching by default

Before the TPAC, a site could configure the OPAC to use metarecord searching
by default, via a configuration file.  Here we bring that back.

A new setting is present in templates/opac/parts/config.tt2 to enable this
feature.  By setting this to a true value (normally 1) the TPAC will silently
include the #metabib search modifier in the search form on any interfaces that
do not have a UI component that allows the user to control the setting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/templates/opac/parts/advanced/search.tt2
Open-ILS/src/templates/opac/parts/config.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2