]> git.evergreen-ils.org Git - Evergreen.git/commit
TPac: avoid SMS org setting check for non-SMS pages
authorBill Erickson <berick@esilibrary.com>
Mon, 23 Jan 2012 22:04:01 +0000 (17:04 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 31 Jan 2012 19:22:09 +0000 (14:22 -0500)
commitd165b4ed70d06b4170f4e24cd75a2b31c6fdcc05
treed96a96f0e809740f56f925d4ea7364e75ec08097
parent575ce3ca19612007003c1c31c4be3c30077b2d12
TPac: avoid SMS org setting check for non-SMS pages

Avoid an unnecessary org unit setting lookup on a large swath of
(mostly myopac) pages.  Instead, check to see if the current page is the
SMS page in question and the lookup is necessary before making the
lookup.

This change also inserts the physical location as the first org unit to
use in the org setting test.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm