TPac: improve search depth extraction user/berick/tpac-improve-depth-extraction
authorBill Erickson <berick@esilibrary.com>
Tue, 27 Dec 2011 18:45:02 +0000 (13:45 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 27 Dec 2011 18:45:02 +0000 (13:45 -0500)
commit4e312e4376186ae227a0897e5bc4f0bf03b07a5f
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm