]> git.koha-community.org Git - koha.git/commit
Bug 28345: Patron attributes no longer have option to select empty class
authorOwen Leonard <oleonard@myacpl.org>
Thu, 13 May 2021 10:39:38 +0000 (10:39 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 17 May 2021 10:34:33 +0000 (12:34 +0200)
commit4c004934231e4420ef6ff0a2413a08c269ca26e5
treee71143a7cbbde3b2690e530bbfce328e11fe3a2f
parentd85ae826c64ef43d1f606aceb6eaa6d3174cba52
Bug 28345: Patron attributes no longer have option to select empty class

This patch adds the "empty" parameter to the PROCESS directive which
builds the "Class" dropdown. This allows the user to choose a blank
option when creating or editing a patron attribute.

To test, apply the patch and go to Administration -> Patron attribute
types -> Add patron attribute type.

In the entry form the "Class" dropdown should have a blank option. When
editing an existing attribute with a class defined, the correct class
should still be preselected.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt