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:
eca54f4
)
Remove illegal ccl characters from subject refinements.
author
Anders S. Mortensen
<sondberg@indexdata.dk>
Mon, 18 Dec 2006 14:14:43 +0000
(14:14 +0000)
committer
Anders S. Mortensen
<sondberg@indexdata.dk>
Mon, 18 Dec 2006 14:14:43 +0000
(14:14 +0000)
www/test1/index.html
patch
|
blob
|
history
diff --git
a/www/test1/index.html
b/www/test1/index.html
index
6ea1e45
..
9360c46
100644
(file)
--- a/
www/test1/index.html
+++ b/
www/test1/index.html
@@
-166,8
+166,10
@@
function check_search()
function refine_query (obj) {
var query_cell = document.getElementById('query');
-
- query_cell.value += ' and su=' + obj.innerHTML;
+ var subject = obj.innerHTML;
+
+ subject = subject.replace(/[\(\)]/g, '');
+ query_cell.value += ' and su=(' + subject + ')';
start_search();
}