]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Add cointainer() and record_list() filters to QueryParser
authorMike Rylander <mrylander@gmail.com>
Fri, 22 Jul 2011 19:10:23 +0000 (15:10 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 2 Aug 2011 19:01:26 +0000 (15:01 -0400)
commit31102902d8b7cfefdb2b5dc9e3cb94e828567c2f
tree244683c27e92d94d9e79b4e9ee0e4d1caccf2afb
parente1658e2809d7cb88cb92d98d1a099fdb79e9adc6
Add cointainer() and record_list() filters to QueryParser

The container() filter takes 3 or 4 positional params:
  - class (bre, acn, acp, au)
  - type  (bookbag, etc -- btype of the container)
  - id    (container id)
  - token (authtoken, optional, for checkin ownership of non-public containers)

The record_list() filter takes a list of record ids to restrict the search by.
These are bib ids by default, but are treated as metarecord ids in the presence
of the #metabib (aka #metarecord) modifier.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm