[OPEN-ILS-DEV] After upgrade to 3.0.2, OSRF query fails to limit items by org_unit

Ken Cox kenstir at gmail.com
Sat Jan 20 13:34:35 EST 2018


After a recent upgrade to 3.0.2, the behavior of the query method
open-ils.search.biblio.multiclass.query made by the Android app
changed.  It used to limit results to those matching the org_unit
specified in the query; now it seems to return all copies.  Running
the same query against an older Evergreen 2.12.8 works as expected,
returning only the ids of copies owned by the specified org_unit.

Does the query need to change for newer Evergreen installs, or is this
a server bug?

Thanks in advance for any pointers.

Sample OSRF call
-------------------------
method = open-ils.search.biblio.multiclass.query
param = {org_unit=7, default_class=title, offset=0, limit=200, depth=2}
param = "harry Potter chamber of secrets"
param = 1

Full URL: https://gapines.org/osrf-gateway-v1?service=open-ils.search&method=open-ils.search.biblio.multiclass.query&param=%7B%22org_unit%22:7,%22default_class%22:%22title%22,%22offset%22:0,%22limit%22:200,%22depth%22:2%7D&param=%22harry%20Potter%20chamber%20of%20secrets%22&param=1

Results: 96 items

Expected results: 6 items


-- 
-Ken


More information about the Open-ils-dev mailing list