]> 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>
Fri, 22 Jul 2011 19:10:23 +0000 (15:10 -0400)
commitf882d5da9bb8323960b7d246197974c0fc3c14a6
tree3f9512d6bb00a9b9b3420f624f31167e00a9e3cb
parentb82f69844875d05272cc6d93d90b2160f0f9acf4
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