From: Dan Scott Date: Wed, 8 May 2013 15:50:11 +0000 (-0400) Subject: OSUL: Sync config.tt2 with rel_2_4 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=90094b374f69e8108d4e82818a1102ef3d330809;p=contrib%2FConifer.git OSUL: Sync config.tt2 with rel_2_4 Turn on Google Book Previews while we're at it. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates_laurentian/opac/parts/config.tt2 b/Open-ILS/src/templates_laurentian/opac/parts/config.tt2 index f15f2540ac..6b79b23f97 100644 --- a/Open-ILS/src/templates_laurentian/opac/parts/config.tt2 +++ b/Open-ILS/src/templates_laurentian/opac/parts/config.tt2 @@ -130,4 +130,24 @@ search.adv_config = [ search.default_qtypes = ['keyword','title','author']; +############################################################################## +# Basic Search Box definition +# This allows selection of what, exactly, basic search uses for a selection +# box. Previously it was hardcoded to use an attr box of mattype or item_type. +# +# type can be "attr" or "filter" +# group is the attr or filter entries you want to check for +# none_label is the label for the default nothing selected entry. + +search.basic_config = { + type => 'attr', + group => ['mattype','item_type'], + none_label => l("All Formats"), +}; + +############################################################################## +# Show Google Book Previews +# Set to 1 or 'true' to enable +ctx.google_books_preview = 1; + %]