[Koha-bugs] [Bug 28567] Pick-up location is not saved correctly when creating a new library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 28 13:57:49 CEST 2021


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

--- Comment #22 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #21)
> (In reply to Marcel de Rooy from comment #20)
> > Yes, but we do not really use the default value. Thats my point. I would
> > suggest to return 1 for pickup_location here.
> > See comment16: 
> > Why not set $attributes->{$column_name} = $c_info->{default_value} if
> > defined and delete only if not?
> 
> Because we are in ->new, not in store :)

Discussed on IRC. Lets stick to what DBIx does. ie not use defaults for new.

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


More information about the Koha-bugs mailing list