]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 18 Jul 2023 15:28:30 +0000 (15:28 +0000)
commit339e7adfbc8b450505f4db050932a876dff7c964
tree3de9255852bbafee4d1350cd6997aa51b44f3934
parent2b48a2714b84edfeb8a5f5bf49761d9f0794374d
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>
(cherry picked from commit 6485f244e085fe48b796dd64178659c2f4a5e4ba)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit cb07de6a981eab80c5764beb35c774e2910359ca)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt