]> git.koha-community.org Git - koha.git/commit
Bug 30243: When branccode is required on OPAC suggestion page default to empty value
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 9 Mar 2022 14:55:21 +0000 (14:55 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 8 Apr 2022 13:49:18 +0000 (15:49 +0200)
commitaae06747018bcfcd313fb5af77a456060f5d8814
tree5a868cb5f88afe33f78789f1c91e0aeb04bcbdaf
parent9cad82b3c613d2ae1524ad385791f81c57331480
Bug 30243: When branccode is required on OPAC suggestion page default to empty value

To test:
1. Apply patch
2. Go the purchase suggestion page and see that branchcode defaults to the first option in the list.
3. Go to OPACSuggestionMandatoryFields and mark branchcode as required
4. BAck on the OPAC suggestion page notice that the branchcode defaults to an empty value
5. Try to submit the form without changing it, you cannot. You must choose a branch

Signed-off-by: shiyao <shiyao@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt