Allow predictable sessions PAZ-1030
[pazpar2-moved-to-github.git] / www / demo / search.js
index 55445f7..c856961 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: search.js,v 1.51 2007-03-20 05:34:00 quinn Exp $
+/* $Id: search.js,v 1.53 2007-04-11 02:11:29 quinn Exp $
  * ---------------------------------------------------
  * Javascript container
  */
@@ -525,7 +525,7 @@ function show_records()
             record_div.appendChild(record_cell);
            if (author)
            {
-               record_div.appendChild(document.createTextNode(', by '));
+               record_div.appendChild(document.createTextNode(' by '));
                var al = create_element('a', author);
                al.setAttribute('href', '#');
                al.setAttribute('term', author);
@@ -592,7 +592,7 @@ function refine_query (obj) {
     else if (cur_termlist == 'date')
        query_cell.value += ' and date="' + term + '"';
     else if (cur_termlist == 'xtargets')
-       filter ='id=' +  id;
+       filter ='pz:id=' +  id;
 
     start_search();
 }