LP#1879983: Restrict top-level curbside tab display
authorMike Rylander <mrylander@gmail.com>
Mon, 29 Jun 2020 20:58:37 +0000 (16:58 -0400)
committerJason Stephenson <jason@sigio.com>
Thu, 27 Aug 2020 21:40:00 +0000 (17:40 -0400)
commit0f6bb0a259bf94cd194055047abb1e0be03e74b0
treea0cae75e9edf8b601be72e05f2a3f8a55650d014
parent1d2d9b1f77a6d6817314cf4604eefa6a6a4ffe81
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>
Conflicts:
    Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
    Open-ILS/src/templates/opac/parts/myopac/base.tt2

Signed-off-by: Jason Stephenson <jason@sigio.com>
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