First, Martha's right on that the badge_orgs() filter (supplied by a wrapper function that looks at shelving location groups and the site() filter) is the proximate cause here. The code in question is around line 3381 of Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm.
It looks like a location group is being passed to the method, either embedded in the query string or as a hash parameter, but the query generated by the method does not reflect that. Still looking...
First, Martha's right on that the badge_orgs() filter (supplied by a wrapper function that looks at shelving location groups and the site() filter) is the proximate cause here. The code in question is around line 3381 of Open-ILS/ src/perlmods/ lib/OpenILS/ Application/ Storage/ Publisher/ metabib. pm.
It looks like a location group is being passed to the method, either embedded in the query string or as a hash parameter, but the query generated by the method does not reflect that. Still looking...