bug 10865: (follow-up) allow patrons to make their public lists private when OpacAllo...
authorGalen Charlton <gmc@esilibrary.com>
Fri, 21 Feb 2014 20:44:24 +0000 (20:44 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Apr 2014 22:18:45 +0000 (22:18 +0000)
commit7dd0e9a41fd639e86ed32d98d863d605a6ba63e8
treef0aa586bcb70d0fcc730526a8460796b15c3a456
parentc8085cb9c38f60b1152f4cf86c7ffcc82d3e8106
bug 10865: (follow-up) allow patrons to make their public lists private when OpacAllowPublicListCreation is off

This patch ensures that patrons continue to have the ability to make
their public lists private for any public lists they control that were
created before the library turned the OpacAllowPublicListCreation
system preference off.

To test:

[1] Ensure OpacAllowPublicListCreation is on.
[2] As a patron, create a public list in the OPAC.  Also, create
    a private list.
[3] Turn OpacAllowPublicListCreation off.
[4] Back in the OPAC, verify that the public list can be edited
    and that there are drop-downs for category and permissions.
    Also verify that there is a warning that the patron cannot
    change it back if they convert a public list to private.
[5] Edit the private list created in step 2.  Verify that the
    category and permissions drop-downs are not displayed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Broust <jean-manuel.broust@univ-lyon2.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt