[Koha-bugs] [Bug 33639] Adding item to item group from 'Add item' screen doesn't work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 3 23:50:18 CEST 2023


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

--- Comment #4 from Lucas Gass <lucas at bywatersolutions.com> ---
(In reply to Katrin Fischer from comment #3)
> This fixes the problem, but it creates another:
> 
> * When enumchron was already filled out, selecting an item group now will
> overwrite the entered value and replace it.
> 
> I feel like the initial intention here was to avoid this and I think that
> would be correct:
> 
>  if ( ! $('input.items-enumchron').val() ) {
> 
> I think if we keep the check, but change it to checking for the name with .
> not -, it might actually work?
> 
> 
>  if ( ! $('input[name="items.enumchron"]').val() ) {

That makes sense. Should we also warn the user that enumchron value is not
changing? 

If I clicked the dropdown and suspected the value was going to change but it
does not I might be confused. 

So maybe we need a pop-up? "You are about to to change this value from A to B.
Would you like to continue?"

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


More information about the Koha-bugs mailing list