[OPEN-ILS-GENERAL] Excluding a single library from consortium scoped action trigger notice

Brent Mills brent at hoodriverlibrary.org
Fri Mar 4 12:03:47 EST 2016


Thanks Thomas and Josh!

I'll try these both out.

-Brent

On 3/4/16 7:54 AM, Josh Stompro wrote:
>
> Thanks to this doc
>
> http://wiki.evergreen-ils.org/doku.php?id=documentation:technical:jsontutorial
>
> I think you want something like (Watch out for the smartquotes, gotta 
> get those disabled, outlook--), where X is the OU to exclude.
>
>     "expire" : {
>
>         "context_org":"home_ou",
>
>         "filter" :
>
>                         { "active":"t",
>
> "deleted":"f" ,
>
>                         “home_ou”:  :{ "!=":X }
>
>                         }
>
>         },
>
> *From:*Open-ils-general 
> [mailto:open-ils-general-bounces at list.georgialibraries.org] *On Behalf 
> Of *Josh Stompro
> *Sent:* Friday, March 4, 2016 9:47 AM
> *To:* Evergreen Discussion Group
> *Subject:* Re: [OPEN-ILS-GENERAL] Excluding a single library from 
> consortium scoped action trigger notice
>
> Brent, you could look at excluding a specific org unit in the 
> action_trigger_filters.json file.
>
> I’m not that familiar with creating the json query format or I would 
> try to give you an example.  “Home_Lib != Nonconformist_ou”
>
> That may be the simplest way to exclude one OU.
>
> Josh
>
> *From:*Open-ils-general 
> [mailto:open-ils-general-bounces at list.georgialibraries.org] *On Behalf 
> Of *Brent Mills
> *Sent:* Thursday, March 3, 2016 3:00 PM
> *To:* Evergreen Discussion Group
> *Subject:* [OPEN-ILS-GENERAL] Excluding a single library from 
> consortium scoped action trigger notice
>
> Has anyone had success excluding one org unit from an otherwise 
> consortium scoped action trigger notice?
>
> We have one library that wants to opt-out of the 30 Day Account 
> Pre-Expiration Notice, but everyone else would like to keep it. 
> There's probably an easier way than creating individual notice 
> templates for every library except the one that wants out...right?
>
> Thank you,
>
> -Brent
>
> -- 
> Brent Mills
> Systems Librarian | Sage Library System
> email:brent at hoodriverlibrary.org <mailto:brent at hoodriverlibrary.org>
> tickets: sagelib.org/support
> phone: 541.610.8384

-- 
Brent Mills
Systems Librarian | Sage Library System
email: brent at hoodriverlibrary.org
tickets: sagelib.org/support
phone: 541.610.8384

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20160304/40154489/attachment.html>


More information about the Open-ils-general mailing list