LP#1663374: Allow metarecord searching by default
authorMike Rylander <mrylander@gmail.com>
Wed, 7 Dec 2016 21:47:01 +0000 (16:47 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 9 Feb 2017 20:40:45 +0000 (15:40 -0500)
commit66c0f6b0f894be46633b99495a5d13cab6073b18
tree926092f9d9cefaf46f973498961be0f03ba08890
parent80761d499d7c4cf67097a2cc9874f5ac15986bc9
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>
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