From: Kathy Lussier Date: Thu, 1 Dec 2016 01:56:08 +0000 (-0500) Subject: Add new advanced search options to Boolean search page X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e2a90ad471708124e101f962f5921e254f526cf6;p=evergreen%2Fmasslnc.git Add new advanced search options to Boolean search page The advanced search page now has a Shelving Location filter and an option for to group formats and edition. They should be added to the Boolean search page as well. Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/opac/parts/advanced/boolean.tt2 b/Open-ILS/src/templates/opac/parts/advanced/boolean.tt2 index 88f16d103c..56445738b7 100644 --- a/Open-ILS/src/templates/opac/parts/advanced/boolean.tt2 +++ b/Open-ILS/src/templates/opac/parts/advanced/boolean.tt2 @@ -42,14 +42,16 @@ [% END; %] - + [% adv_chunk.adv_label %]
[% IF adv_chunk.adv_special; SWITCH adv_chunk.adv_special; CASE "lib_selector"; PROCESS "opac/parts/org_selector.tt2"; - INCLUDE build_org_selector show_loc_groups=1; %] + INCLUDE build_org_selector show_loc_groups=1 id="adv_org_selector" %]
+
+ + +
+ [% END %] + + [% CASE "copy_location" %] + + [% + END; + ELSIF adv_chunk.adv_attr; INCLUDE "opac/parts/coded_value_selector.tt2" attr=adv_chunk.adv_attr multiple="multiple" size="4"; ELSIF adv_chunk.adv_filter; diff --git a/Open-ILS/src/templates/opac/parts/config.tt2 b/Open-ILS/src/templates/opac/parts/config.tt2 index 4fdda27ac2..a81049996a 100644 --- a/Open-ILS/src/templates/opac/parts/config.tt2 +++ b/Open-ILS/src/templates/opac/parts/config.tt2 @@ -109,7 +109,7 @@ facet.display = [ facet.default_display_count = 5; ############################################################################## -# Define the advanced search limiters and labels. +# Define the advanced search and Boolean search limiters and labels. # Each entry is put into a table cell. # adv_label is the (translated) label for the limiter # adv_attr is an array of possible limiters, the first one that has any