Merging in c1cc6340e8 (site/depth scrubbing)
authorBill Erickson <berick@esilibrary.com>
Tue, 12 Jun 2012 19:35:28 +0000 (15:35 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 12 Jun 2012 19:35:28 +0000 (15:35 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates_kcls/opac/parts/searchbar.tt2

index b968540..2faf28c 100644 (file)
@@ -19,7 +19,7 @@
             <td>
                 <div id="search_box_wrapper">
                     [%  placeholder = l("Search Keyword");
-                        value = is_advanced ? ctx.processed_search_query : CGI.param('query') || placeholder | html;
+                        value = is_advanced ? ctx.naive_query_scrub(ctx.processed_search_query) : CGI.param('query') || placeholder | html;
                     %]
                     <!-- Note: when common browsers support HTML5 placeholder text, we can remove the JS -->
                     <input type="text" id="search_box" name="query" value="[% value %]"