Bug 10553: make public lists available on OPAC login page
authorOwen Leonard <oleonard@myacpl.org>
Mon, 8 Jul 2013 18:37:03 +0000 (14:37 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 14 Aug 2013 14:03:39 +0000 (11:03 -0300)
commitc7e19ee643730b06dc0f0ab2665c31f65b8e86e4
tree1966dddfb991eb6299a064b74494b2f032748248
parent5e7452758949e037fcf286cead721b559dd7d0e3
Bug 10553: make public lists available on OPAC login page

If you are not logged in to the OPAC, looking at the login page, and you
click the Lists button to see public lists it says there are none. This
patch corrects Auth.pm so that it loads the list of public lists in this
situation.

To test you must have at least one public list. Make sure you are logged
out of the OPAC and visit the login page (/cgi-bin/koha/opac-user.pl).
Clicking the "Lists" button should show you a list of public shelves.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
works as described, and list button is not shown when opacpublic is disabled.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 651f810f68f82f4aac254c4a78bb6a4517dcb558)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Auth.pm