[Koha-bugs] [Bug 20682] Authorised values should have an option to set a default

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 15 11:02:03 CEST 2022


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Hugh Rundle from comment #0)
> There are many places in Koha where values can be chosen via a drop-down
> menu listing a particular authorised value. For example SUGGEST_FORMAT is
> used to populate the list of formats that can be selected when placing a
> purchase suggestion. Currently these lists appear in alphabetical order by
> description or OPAC description (depending on context), and the first option
> in the list is usually auto-selected (i.e. more or less default behaviour
> for a vanilla HTML <select> element). This is problematic in many
> circumstances as users will accidentally 'select' the first alphabetical
> option if they don't change anything.

Good observation.

> There should be a setting in Authorised Values to set between zero and one
> values per category to be the default value (probably in
> authorised_values.pl?op=add_form). This would then add a 'selected'
> attribute to the <option> tag wherever the authorised value list appears as
> a dropdown menu.

Not sure if we should address it like that. You might have two columns using
one AV category where one column may be NULL and the other one not.

"This would add a selected attribute" => That might be a lot of work checking
all templates.. Probably address the most striking cases first?

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


More information about the Koha-bugs mailing list