From 1b9f22f9f62ad68cd2ca89935d85cfd1759d6165 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 7 Feb 2011 17:10:38 -0500 Subject: [PATCH] basic search "works" inasmuch as it leads to a GET request against the results page as it should. not that the results page itself works yet. --- .../web/templates/default/opac/parts/libselect.tt2 | 26 ++++++++++++++++++- .../web/templates/default/opac/parts/searchbar.tt2 | 30 ++++++++++------------ 2 files changed, 38 insertions(+), 18 deletions(-) diff --git a/Open-ILS/web/templates/default/opac/parts/libselect.tt2 b/Open-ILS/web/templates/default/opac/parts/libselect.tt2 index 678fcc926c..f41d0e420b 100644 --- a/Open-ILS/web/templates/default/opac/parts/libselect.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/libselect.tt2 @@ -1,6 +1,30 @@ +[% # XXX TODO probably put this BLOCK somewhere else so it can be used widely. + # Org Unit Selector Widget : + # PROCESS build_org_selector id='selector-id' name='selector-name' + BLOCK build_org_selector; + first_run = 0; + IF !org_unit; + org_unit = ctx.aou_tree; + first_run = 1; +%] + + [% END %] +[% END %] + - + [% PROCESS build_org_selector name='loc' %] +
@@ -14,18 +15,19 @@
- - + +
- Search
-
- - -
-
+
+
-- 2.11.0