[Koha-bugs] [Bug 14031] New: Itemnumber should be a numeric search in ccl.properties

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 21 02:33:37 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14031

            Bug ID: 14031
           Summary: Itemnumber should be a numeric search in
                    ccl.properties
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Z39.50 / SRU / OpenSearch Servers
          Assignee: gmcharlt at gmail.com
          Reporter: dcook at prosentient.com.au
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

At the moment, if you do a search in the OPAC or staff client for
"itemnumber:1", you'll get no results even when you have an item with an
itemnumber of 1.

That's because Zebra defaults to a word list search, but there is no word index
for itemnumber. It's a numeric index. So, to find that item, you'll have to try
"itemnumber,st-numeric:1".

However, by tweaking ccl.properties, we can make "itemnumber:1" work as well.
We already do this for "notforloan" which we know will always be numeric.

Current ccl.properties:

notforloan 1=8008 4=109
itemnumber 1=8010

4=109 is the PQF/RPN for "st-numeric".

So... let's just add "4=109" to itemnumber, and be merry!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list