For whatever it's worth, we make use of the custom filter groups and
just specify a filter group like:
<global_filter>filter_group_entry(4)</global_filter>

Where 4 is the filter group that we set aside for KPAC entries.  Then
we update the locations(x, y, z) in that filter group using the filter
editor in the staff client.  This way, whenever we add or remove
different copy locations, it doesn't require updating the XML file.

-- Ben

On Mon, Apr 7, 2014 at 9:27 PM, McCanna, Terran
<tmcca...@georgialibraries.org> wrote:
> Holly,
>
> I think it's a great question, and I'd love to know if that works when you 
> try it out!
>
> Another thing I was mulling over was that it would be fun to make another 
> version of the KPAC just for teens with its own graphics and just including 
> audience type c&d materials. (In my copious spare time... )
>
>
> Terran McCanna
> PINES Program Manager
> Georgia Public Library Service
> 1800 Century Place, Suite 150
> Atlanta, GA 30345
> 404-235-7138
> tmcca...@georgialibraries.org
>
> ----- Original Message -----
> From: "Holly Brennan" <haderh...@ci.homer.ak.us>
> To: "Evergreen Discussion Group" <open-ils-general@list.georgialibraries.org>
> Sent: Monday, April 7, 2014 9:03:54 PM
> Subject: Re: [OPEN-ILS-GENERAL] KPAC filtering
>
> 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-boun...@list.georgialibraries.org 
> [mailto:open-ils-general-boun...@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
> tmcca...@georgialibraries.org



-- 
Benjamin Shum
Evergreen Systems Manager
Bibliomation, Inc.
24 Wooster Ave.
Waterbury, CT 06708
203-577-4070, ext. 113

Reply via email to