[OPEN-ILS-GENERAL] KPAC filtering

McCanna, Terran tmccanna at georgialibraries.org
Mon Apr 7 20:57:03 EDT 2014


Hmm... I could be wrong (and I'm very tired), but I would guess that with the way the global filter tag is set up in the kpac.xml file, that you could put any sort of defined filter in there. It is configured for "audience(a,b,c,d,j)" and that is easy to modify, but my guess is you could replace that bit in the global filter tag with "locations(x,y,z)" where x,y,z were the IDs (not the names) of the shelving locations you wish to display. 

This page lists the filters that the query parser understands and it says "locations" refers to shelving location IDs:
http://evergreen-ils.org/dokuwiki/doku.php?id=documentation:technical:search_grammar

I'm not sure if there is a way to determine the IDs of your shelving locations without looking at the database table that holds them.

We couldn't do this in PINES because our consortium allows different libraries to have different shelving locations and it would be too difficult to track, but I don't see why it couldn't work for a smaller or more standardized system.


Terran McCanna 
PINES Program Manager 
Georgia Public Library Service 
1800 Century Place, Suite 150 
Atlanta, GA 30345 
404-235-7138 
tmccanna at georgialibraries.org 


More information about the Open-ils-general mailing list