Skip to content

Instantly share code, notes, and snippets.

@berick
Created Jun 14, 2019
Embed
What would you like to do?
{
"checkout.due" : {
"context_org" : "circ_lib",
"filter" : {
"checkin_time" : null,
"due_date" : { "<" : "now" },
"-or" : [
{ "stop_fines" : ["MAXFINES", "LONGOVERDUE", "CLAIMSRETURNED"] },
{ "stop_fines" : null }
],
"-exists" : {
"select" : {"au" : ["id"]},
"from" : "au",
"where" : {
"profile" : [17,15,23,13,38,31,26,28,27,29,30,25,16, 34],
"id" : { "=" : {"+circ" : "usr"} }
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment