From b5ac5a6d54dfd0f010269f66526f27d7f31e27b5 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 9 Apr 2012 15:45:49 -0400 Subject: [PATCH] kpac : search link cgi improvements 1. avoid showing the search terms from canned searches in the simple search box. Patrons, kids especially, probably don't want to see potentially complicated canned search queries in the search box when the whole point is that they are accessible by clicking on images. 2. Avoid propagating the search qtype param to canned searches. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- Open-ILS/src/templates/kpac/parts/grid.tt2 | 3 ++- Open-ILS/src/templates/kpac/parts/searchbox.tt2 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/kpac/parts/grid.tt2 b/Open-ILS/src/templates/kpac/parts/grid.tt2 index 2e1b459f6a..3d9722c469 100644 --- a/Open-ILS/src/templates/kpac/parts/grid.tt2 +++ b/Open-ILS/src/templates/kpac/parts/grid.tt2 @@ -27,7 +27,8 @@ MACRO render_kpac_grid(page_id) BLOCK; [% ELSIF cell.type == 'search'; %] - [% cell.name %] [% ELSIF cell.type == 'link'; %] diff --git a/Open-ILS/src/templates/kpac/parts/searchbox.tt2 b/Open-ILS/src/templates/kpac/parts/searchbox.tt2 index 1d6e39e6ff..8f598d5bc5 100644 --- a/Open-ILS/src/templates/kpac/parts/searchbox.tt2 +++ b/Open-ILS/src/templates/kpac/parts/searchbox.tt2 @@ -1,7 +1,8 @@
[% l('New Search') %]
-