]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 29 Apr 2019 01:49:01 +0000 (01:49 +0000)
commitfd18249965235586deb2e3cc3f4653acd59ecc37
tree6ec221c7f8dcb78763f130013745d73bdf77a830
parent86c1f2d4238e10ccb7f6c5a16c62820dee756cc9
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>
(cherry picked from commit 3d06afa4cdd9131fb9784a9d76b14a669e35ffc7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-shelves.pl
virtualshelves/shelves.pl