]> git.koha-community.org Git - koha.git/commit
Bug 22478: (QA follow-up) Handle category in opac-shelves like a boolean
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 12 Apr 2019 07:02:06 +0000 (07:02 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 2 May 2019 13:40:26 +0000 (13:40 +0000)
commit375dd35d5354d46c4c16f534494b123ce370c3f4
treeb56a5761774fe95387d54e4c0912eff7ba3dbf8e
parent401e8e791e32008e93e959dd9ed1b4491cb0796a
Bug 22478: (QA follow-up) Handle category in opac-shelves like a boolean

The category parameter should be restricted to 1 or 2 (private/public). In
order to keep same behavior, no parameter means 1 (private).
Note: Adding the same line in intranet counterpart.

Test plan
[1] Check for category empty, '1a', '11' etc. And with script ;)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
opac/opac-shelves.pl
virtualshelves/shelves.pl