]> git.koha-community.org Git - koha.git/commit
Bug 34184: Add empty option for suggestion "document type"
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 5 Jul 2023 10:41:09 +0000 (12:41 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 18:23:18 +0000 (15:23 -0300)
commit6485f244e085fe48b796dd64178659c2f4a5e4ba
tree1a9be77883715af5efff5f68d4985946193d658b
parentbcabb5d24712b23963c4616efae19e940cf2c544
Bug 34184: Add empty option for suggestion "document type"

Currently when editing a suggestion, the document type will preselect to the
first entry as we don't have an empty entry.
This can lead to data errors easily.

Test plan:
Create a new suggestion
=> Notice that "document type" is empty by default, pick one
Edit it again
=> Notice that the value is kept and empty can be picked, pick empty
Edit again
=> Empty is selected and saved in DB

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt