[OPEN-ILS-DEV] Android: how to determine (quickly) which libraries are hold pickup locations

Ken Cox kenstir at gmail.com
Tue Feb 14 08:39:09 EST 2017


I want to determine via OSRF which organizations cannot be hold pickup
locations, and prevent the user from selecting those locations when
placing a hold.  The only reliable way I have found is to call
open-ils.actor.org_unit_setting.values.ranged.retrieve and look for
"opac.holds.org_unit_not_pickup_lib":true.  Calling that 339 times
takes 54 seconds, even in release mode with a pool of 4 threads.

Can you help me find a better way?

Many thanks,
Ken


More information about the Open-ils-dev mailing list