Minor fix for previous commit
authorWilliam Rockwood <wrockwood@tadl.org>
Fri, 23 Aug 2013 18:09:37 +0000 (14:09 -0400)
committerWilliam Rockwood <wrockwood@tadl.org>
Fri, 23 Aug 2013 18:09:37 +0000 (14:09 -0400)
- Needed to also uri encode the search string, so searches
  containing '&' would not break.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
templates_tadlskin/opac/results.tt2

index 4a822f1..5c56553 100644 (file)
@@ -59,7 +59,7 @@
                     </label>
                     <div class="results_header_div"></div>
                     <div class="float-left">
-                         <a class="tbutton small tadlblue" href="http://elibrary.mel.org/search/a?searchtype=X&amp;searcharg=[% CGI.param('query') | html %]&amp;SORT=D" style="padding:0;"><span style="padding:5px 8px;"><img src="/images/tadl/button-search-melcat.png" style="width:100px;" alt="Search MeLCat!" /></span></a>
+                         <a class="tbutton small tadlblue" href="http://elibrary.mel.org/search/a?searchtype=X&amp;searcharg=[% CGI.param('query') | uri | html %]&amp;SORT=D" style="padding:0;"><span style="padding:5px 8px;"><img src="/images/tadl/button-search-melcat.png" style="width:100px;" alt="Search MeLCat!" /></span></a>
                     </div>
                 <div class="clear-both"></div>
             </div>