Advertisement
chrissharp123

Untitled

Jun 25th, 2021
1,572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.29 KB | None | 0 0
  1. opensrf@utility03:~$ cat /openils/conf/action_trigger_filters.json
  2. {
  3.  
  4. "checkout.due" :
  5.     { "context_org" : "circ_lib",
  6.       "filter"      :
  7.             { "checkin_time"  : null,
  8.               "-or"           :
  9.                     [ { "stop_fines"  : ["MAXFINES", "LONGOVERDUE"] },
  10.                       { "stop_fines"  : null }
  11.                     ]
  12.             }
  13.     },
  14. "checkout.due.email_notify" :
  15.     { "context_org" : "circ_lib",
  16.       "filter"      :
  17.             { "checkin_time"  : null,
  18.               "-or"           :
  19.                     [ { "stop_fines"  : ["MAXFINES", "LONGOVERDUE"] },
  20.                       { "stop_fines"  : null }
  21.                     ],
  22.                         "-exists" : {
  23.                 "select" : {"au" : ["id"]},
  24.                 "from"   : "au",
  25.                 "where"  : {
  26.                     "email" : { "!=" : null },
  27.                     "id" : { "=" : {"+circ" : "usr"} }
  28.                 }
  29.             }
  30.         }
  31.     },
  32. "au.created" :
  33.     { "context_org":"home_ou",
  34.       "filter":
  35.             {
  36.               "active":"t",
  37.               "deleted":"f"
  38.             }
  39.     },
  40. "au.expired" :
  41.     { "context_org" : "home_ou",
  42.       "filter":
  43.             {
  44.               "active":"t",
  45.               "deleted":"f"
  46.             }
  47.     }
  48.  
  49. }
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement