]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 29 Apr 2019 09:43:21 +0000 (10:43 +0100)
commit3d06afa4cdd9131fb9784a9d76b14a669e35ffc7
tree1475abb9595aac6b35c2e91c8f47c268c1d32677
parentab5a04e885b6a759e62d5fd78608302e89a14166
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: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-shelves.pl
virtualshelves/shelves.pl