]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 25 May 2021 13:51:34 +0000 (13:51 +0000)
commit81cb8d7f0fb8963717cb769c48fa83695e1b6e4f
tree10ee5772217cc04faf05d56a97c341db5bf7858f
parenta4ae376b4e29499c0a35065ca3c2a35e1ef3eca5
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>
(cherry picked from commit 4c004934231e4420ef6ff0a2413a08c269ca26e5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 2b7572984d8efa62c56545b44f3a3191daab5058)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt