]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 30 Apr 2019 07:22:33 +0000 (09:22 +0200)
commit524ba89732466f5d1db6df17ae826a4d613b3087
treec86f967603e9f3b6303836c160e560c171320c5b
parente3f3f18b83b7ea470e0ad73e24cd58bccab5adac
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>
(cherry picked from commit fd18249965235586deb2e3cc3f4653acd59ecc37)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-shelves.pl
virtualshelves/shelves.pl