Generic sort mechanism. Sort supported by relevance, string, or string w/o lead.
[pazpar2-moved-to-github.git] / www / test1 / search.js
index 5d25b70..94f0752 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: search.js,v 1.9 2007-01-08 18:32:35 quinn Exp $
+/* $Id: search.js,v 1.10 2007-01-15 04:34:29 quinn Exp $
  * ---------------------------------------------------
  * Javascript container
  */
@@ -211,6 +211,7 @@ function check_search()
        "&start=" + document.search.startrec.value +
        "&num=" + recstoshow +
        "&session=" + session +
+       "&sort=title:1" +
        "&block=1";
     xshow = GetXmlHttpObject();
     xshow.onreadystatechange=show_records;