[OPEN-ILS-GENERAL] KPAC filtering

Holly Brennan haderhold at ci.homer.ak.us
Mon Apr 7 21:45:51 EDT 2014


GREAT idea, Ben. (I was waiting for you to chime in.) And I already have a group made that includes all the Children's locations!

I'm sure I'll have more questions when I actually dive into this project, but this is great help already. Thanks!

- Holly

-----Original Message-----
From: open-ils-general-bounces at list.georgialibraries.org [mailto:open-ils-general-bounces at list.georgialibraries.org] On Behalf Of Ben Shum
Sent: Monday, April 07, 2014 5:33 PM
To: Evergreen Discussion Group
Subject: Re: [OPEN-ILS-GENERAL] KPAC filtering

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 <tmccanna at 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
> tmccanna at georgialibraries.org
>
> ----- Original Message -----
> From: "Holly Brennan" <haderhold at ci.homer.ak.us>
> To: "Evergreen Discussion Group" 
> <open-ils-general at 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-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



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


More information about the Open-ils-general mailing list