projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eeb5ae
)
Quotes around terms in hyperlink searches
author
Sebastian Hammer
<quinn@indexdata.com>
Fri, 26 Jan 2007 23:24:01 +0000
(23:24 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Fri, 26 Jan 2007 23:24:01 +0000
(23:24 +0000)
www/demo/search.js
patch
|
blob
|
history
diff --git
a/www/demo/search.js
b/www/demo/search.js
index
b1c9c2b
..
ee071b7
100644
(file)
--- 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();
}