From: Sebastian Hammer Date: Fri, 26 Jan 2007 23:24:01 +0000 (+0000) Subject: Quotes around terms in hyperlink searches X-Git-Tag: stable.27032007~42 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=2fc301cf0cdc2de7162d43d17d7331550e5ba04a;p=pazpar2-moved-to-github.git Quotes around terms in hyperlink searches --- diff --git a/www/demo/search.js b/www/demo/search.js index b1c9c2b..ee071b7 100644 --- a/www/demo/search.js +++ b/www/demo/search.js @@ -1,4 +1,4 @@ -/* $Id: search.js,v 1.45 2007-01-26 18:50:11 quinn Exp $ +/* $Id: search.js,v 1.46 2007-01-26 23:24:01 quinn Exp $ * --------------------------------------------------- * Javascript container */ @@ -419,7 +419,7 @@ function hyperlink_search(obj) var field = obj.getAttribute('searchfield'); var term = obj.getAttribute('term'); var queryfield = document.getElementById('query'); - queryfield.value = field + '=' + term; + queryfield.value = field + '="' + term + '"'; start_search(); }