[Koha-bugs] [Bug 27297] When itemtype is marked as required in OpacSuggestion MandatoryFields the field is not required

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 30 00:29:54 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27297

Kelly McElligott <kelly at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114620|0                           |1
        is obsolete|                            |

--- Comment #2 from Kelly McElligott <kelly at bywatersolutions.com> ---
Created attachment 114737
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114737&action=edit
Bug 27297: Add required and blank options to av-build-dropbox.inc

This patch adds two options to av-build-drobx
required - which will add the required attribute to the select
blank - which will add a blank option to avoid preselecting others

To test:
1 - In OpacSuggestionMandatoryFeilds select itemtype
2 - Go to OPAC
3 - Add a suggestion
4 - Don't fill out any fields
5 - Submit
6 - Suggestion is added
7 - Delete it
8 - Apply patch
9 - Add a suggestion
10 - Note itemtyp edefaults to 'None'
11 - You cannot submit until you select a value

Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list