From 90094b374f69e8108d4e82818a1102ef3d330809 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 8 May 2013 11:50:11 -0400 Subject: [PATCH] OSUL: Sync config.tt2 with rel_2_4 Turn on Google Book Previews while we're at it. Signed-off-by: Dan Scott --- .../src/templates_laurentian/opac/parts/config.tt2 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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; + %] -- 2.11.0