@@ -, +, @@ values in patron account - Create authorised values for either Bsort1 or Bsort2 authorised value category - Create a new patron: - you should see a pull down list on one and an input field for the other - for the pull down list, there will be no empty entry and the first alphabetic value will be preselected - Make your sort1 and sort2 mandatory using BorrowerMandatoryField - Verify there is still on empty entry - Apply patch - Repeat tests and verify that the behaviour is as expected - There should now be an empty entry - When the field is marked mandatory and empty is left, the required warning will be shown. --- koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc | 6 ++++-- koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc @@ -4,8 +4,9 @@ [%# category: the authorised value category %] [%# default: the default authorised value to select %] [%# class: the CSS class of the select element %] -[%# size: the size to use for the input (generated if the authorised value category does not exist). %] -[%# all: add a "All" entry %] +[%# size: the size to use for the input (generated if the authorised value category does not exist). %] +[%# all: add a "All" entry. All and empty should not be used at the same time. %] +[%# empty: add an empty entry. All and empty should not be used at the same time. %] [% SET avs = AuthorisedValues.GetAuthValueDropbox( category ) %] [% DEFAULT class = '' size = 20 %] @@ -13,6 +14,7 @@ [% IF avs %]