From 59da076b927c7b4e520425ba3bdb9fedf6c12f51 Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Wed, 3 Oct 2012 14:08:01 -0400 Subject: [PATCH] HACK: Use hardcoded fi:format selector This is a hack / proof of concept which may be rendered unnecessary by changes in post-2.2 releases of Evergreen. The intent is to allow searching for "E-Books" and "Large Print Books" by switching to a "format" search filter instead of an "item_type" filter. We are hardcoding the choices of format, and generating the +[% IF none_ok %] + +[% END; +FOR o IN item_formats; %] + +[% END -%] + + diff --git a/templates_tadlskin/opac/parts/searchbar.tt2 b/templates_tadlskin/opac/parts/searchbar.tt2 index b47e3ae65a..da24ffef14 100644 --- a/templates_tadlskin/opac/parts/searchbar.tt2 +++ b/templates_tadlskin/opac/parts/searchbar.tt2 @@ -28,7 +28,7 @@ [% IF ctx.bookbag %] -- 2.11.0