]> git.evergreen-ils.org Git - Evergreen.git/commit
TPac: improve search depth extraction
authorBill Erickson <berick@esilibrary.com>
Tue, 27 Dec 2011 18:45:02 +0000 (13:45 -0500)
committerDan Scott <dan@coffeecode.net>
Tue, 27 Dec 2011 19:10:04 +0000 (14:10 -0500)
commitf49146ec6b6c0e54056a911a0f21e2d5c80a38b5
treee5aa78d3ccbc9895eed13853bdc2079a0690bc14
parent3d358abbf1d069e66476e7edb21d6c43428521db
TPac: improve search depth extraction

Improves how we determine the depth of a search.  The Order of
operations:

1. Depth encoded within the search query, e.g. depth(2)
2. CGI depth param
3. Default is to match the depth of the searched org unit

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm