Hopefully this will be my last email on the topic. As I mentioned before, YAZ 5.15.0 contains the CCL2RPN fix, which fixes the error that Barton was encountering during the search process outlined below. It might also be worth mentioning that Zebra 2.0.62 will contain a fix that allows 4=109 searches to use the 2=102 relevance attribute. This probably won’t affect us too much since st-numeric uses r=o, but it might be useful in cases where we’re searching for notforloan as that’s a CCL qualifier for 1=8008 4=109. With versions of Zebra prior to 2.0.62, doing a search for rk=(notforloan = 1) will result in a 117 error. The short-term fix would be to just add r=o to notforloan as well, but remembering to add r=o anytime you use 4=109 is prone to human error. Anyway, as I said above, hopefully that’s my last post about this topic, so I’ll stop spamming everyone ;). David Cook Systems Librarian Prosentient Systems 72/330 Wattle St, Ultimo, NSW 2007 From: koha-devel-bounces@lists.koha-community.org [mailto:koha-devel-bounces@lists.koha-community.org] On Behalf Of Barton Chittenden Sent: Friday, 6 November 2015 3:47 AM To: Koha-devel <koha-devel@lists.koha-community.org> Subject: [Koha-devel] Searching numeric ranges I am working on searching lexile number ranges. ccl.properties shows lex 1=9903 r=r The 'r=r' bit means that I should be able to search using a numeric range separated by a dash, e.g. 500-600 Should return any numeric results from 500 to 600. The following query works: cgi-bin/koha/catalogue/search.pl?q=ccl%3Dlex%2Cst-numeric%3D500-600 <http://search.pl?q=ccl%3Dlex%2Cst-numeric%3D500-600> However, when I try adding that as an item in the search menu, as follows: $(document).ready(function(){ //add lexile to search pull downs $("select[name='idx']").append("<option value='lex,st-numeric'>Lexile (e.g. 600 or 550-650 )</option>"); }); That gets munged... the url reads cgi-bin/koha/catalogue/search.pl?idx=lex%2Cst-numeric <http://search.pl?idx=lex%2Cst-numeric&q=500-600> &q=500-600 And I get the following message: No results found No results match your search for 'lex,st-numeric: 500-600'. --Barton