[Koha-bugs] [Bug 25322] Adding a guarantor with no relationship defaults to father

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 12 23:49:40 CEST 2020


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

--- Comment #14 from Andrew Nugged <nugged at gmail.com> ---
(In reply to Katrin Fischer from comment #13)
> I don't think that's correct beahviour. Because we ship Koha with
> father|mother and we already have an empty value displaying. The problem is
> that when you use the empty value, father gets added to your record (the
> first entry). That's clearly unexpected behaviour (select empty, get
> something else saved).

I support you and support what Peter proposed: 

to append empty <option selected=selected></option>, but in code/DB to have
only two options, so validate:

and because of this to force the user to do conscious choice, not allowing
empty value to pass-through. Can it be the solution?

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


More information about the Koha-bugs mailing list