Bug 31785: Fix for adding non-public library
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 14 Oct 2022 07:42:26 +0000 (07:42 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 16 Dec 2022 13:21:07 +0000 (14:21 +0100)
commit1af547fcfb9cc8c85fcabddd006fb3d8b992ff77
tree5a469cf7ac223f7511e03690e15fe31ba36f857c
parent6d374b99c4daafe8df02f59a6d61a5a59ff81595
Bug 31785: Fix for adding non-public library

The code in admin/branches.pl changed a 0 to undef which is not
desirable for booleans.
A similar fix was already present for pickup_location.
This may need a bit more thought (somewhere else!).

Test plan:
Add a new branch with pickup location No, public No.
Check.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9c4a557c970705cad8f209f05b1f615940fde0ca)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 83f20319c35c36802fc8ea60632a4a1a2e49d9b5)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
admin/branches.pl