On Fri, Jun 25, 2010 at 12:05 PM, mlowenberg <[email protected]> wrote: > Hi, > Here's what we're trying to do...build library opacs in kiosk mode using > our skin > and scoped to the branch the patron is standing in but also reveal the > number of copies in > our system (but not all of the consortium) at the search results page. > > The hack we tried almost works except you get 0 results if the branch has > no copies but the system has copies.
The OPAC can already handle what you want (assuming I understand you correctly) if you feed it the correct URL parameters. For instance: http://gapines.org/opac/en-US/skin/default/xml/index.xml?ol=ARL-ATH&d=1 * ol => the "original location", which can be either the org unit id or short name * d => the scope depth. If you're using the stock 3-level setup of Consortium -> System -> Branch, then System is 1 If you search for "harry potter" (no quotes) you'll see that one of the results on the first page has 0/0 for the branch, but 1/1 for the system. Is that what you want to happen? -- Mike Rylander | VP, Research and Design | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: [email protected] | web: http://www.esilibrary.com
