LP#1879983: Restrict top-level curbside tab display
authorMike Rylander <mrylander@gmail.com>
Mon, 29 Jun 2020 20:58:37 +0000 (16:58 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Tue, 15 Sep 2020 19:51:39 +0000 (15:51 -0400)
commit61fd5ab2c3f456df4e39fe8d55525978aaeddebb
treeae87165fe4c96a358c3d00b0269f9e69cd56b6ca
parent69a6f2ec3f1228ac11a4ce5b73a861e6d789a7cd
LP#1879983: Restrict top-level curbside tab display

Refactor the code checking for curbside-available current-pickup
libraries so that it is checked for all of MyOPAC, allowing us to hide
the Curbside Pickup top-level tab when there are no holds ready at
curbside pickup enabled locations.  The tab will always be at the end of
the list if it is visible.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/parts/myopac/base.tt2