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 (from parent 1:
5a24911
)
Tuning display
author
Sebastian Hammer
<quinn@indexdata.com>
Thu, 18 Jan 2007 17:42:39 +0000
(17:42 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Thu, 18 Jan 2007 17:42:39 +0000
(17:42 +0000)
www/demo/search.js
patch
|
blob
|
history
diff --git
a/www/demo/search.js
b/www/demo/search.js
index
aa5d03c
..
6762753
100644
(file)
--- a/
www/demo/search.js
+++ b/
www/demo/search.js
@@
-1,4
+1,4
@@
-/* $Id: search.js,v 1.40 2007-01-18 16:31:05 quinn Exp $
+/* $Id: search.js,v 1.41 2007-01-18 17:42:39 quinn Exp $
* ---------------------------------------------------
* Javascript container
*/
* ---------------------------------------------------
* Javascript container
*/
@@
-538,9
+538,9
@@
function refine_query (obj) {
term = term.replace(/[\(\)]/g, '');
if (cur_termlist == 'subject')
term = term.replace(/[\(\)]/g, '');
if (cur_termlist == 'subject')
- query_cell.value += ' and su=(' + term + ')';
+ query_cell.value += ' and su=' + term;
else if (cur_termlist == 'author')
else if (cur_termlist == 'author')
- query_cell.value += ' and au=(' + term + ')';
+ query_cell.value += ' and au=' + term;
else if (cur_termlist == 'date')
query_cell.value += ' and date=' + term;
else if (cur_termlist == 'date')
query_cell.value += ' and date=' + term;