]> git.koha-community.org Git - koha.git/commit
Bug 36825: Hide "Protected" field via BorrowerUnwantedField syspref
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Fri, 10 May 2024 05:31:42 +0000 (08:31 +0300)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 14 May 2024 13:34:31 +0000 (15:34 +0200)
commita0b1ee7df30a191a65fc44020bbe18dd69366ce2
tree313cba35461b393c17c70bb8ec6508e243a83c69
parent537d5aac5ac46718e3a1a5f8dac2baf26a8abdea
Bug 36825: Hide "Protected" field via BorrowerUnwantedField syspref

Setting field "Protected" as hidden in patron entry/modification
form via BorrowerUnwantedField syspref doesn't work. Form is
missing condition "UNLESS noprotected".

To test:
1. From BorrowerUnwantedField, check field "Protected" as hidden.
2. Either attempt to create a new patron or modify existing one.
=> Note that "Protected" is still displayed in the form.
3. Apply this patch.
4. Navigate back to create/modify patron form.
=> Note that "Protected" is no longer displayed.
5. Uncheck field "Protected" from BorrowerUnwantedField.
=> Field should now be displayed in create/modify form.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt