[OPEN-ILS-GENERAL] KPAC filtering
Holly Brennan
haderhold at ci.homer.ak.us
Mon Apr 7 21:03:54 EDT 2014
Ah, look at the file! Why didn't I think of that? (Tired, reaching end of day.)
Thanks, Terran! Good clues on where to start looking and experimenting.
-Holly
-----Original Message-----
From: open-ils-general-bounces at list.georgialibraries.org [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of McCanna, Terran
Sent: Monday, April 07, 2014 4:57 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] KPAC filtering
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