kpac : integrate stock search filter group
authorBill Erickson <berick@esilibrary.com>
Wed, 23 May 2012 15:21:37 +0000 (11:21 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 30 Jul 2012 19:05:03 +0000 (15:05 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/kpac/parts/searchbox.tt2

index 8f598d5..d244e68 100644 (file)
     </table>
     <div class="hr">&nbsp;</div>
     <div class="sub_search_category">
-        <!-- XXX TODO: QP Groups / saved searches -->
-        <select class="search_category" name="search_category">
-            <option>Children's Material</option>
-        </select>
+        <span>[% ctx.filter_groups.kpac.label %]<span>
+        <span>
+        [% 
+            INCLUDE 'opac/parts/filter_group_selector.tt2' 
+            filter_group='kpac_main' 
+            class='search_category'
+            none_label=l('Full Collection')
+            none_ok=1 
+        %]
+        <span>
     </div>
     <div class="hr">&nbsp;</div>
     <div>