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 commit6485f244e0
) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commitcb07de6a98
) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
2b48a2714b
commit
339e7adfbc
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<label for="itemtype">Document type:</label>
|
||||
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, default=itemtype %]
|
||||
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size=20, default=itemtype, empty=1 %]
|
||||
</li>
|
||||
[% IF patron_reason_loop %]
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue