http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10212

--- Comment #89 from David Cook <[email protected]> ---
(In reply to Jonathan Druart from comment #88)
> (In reply to David Cook from comment #85)
> > ::: C4/Utils/DataTables/ColumnsSettings.pm
> > @@ +66,5 @@
> > > +    for my $c (@$columns) {
> > > +        $c->{is_hidden}         //= 0;
> > > +        $c->{cannot_be_toggled} //= 0;
> > > +
> > > +        my $column = $schema->resultset('ColumnsSetting')->search(
> > 
> > Have you considered using "update_or_create" instead of these 3 methods?
> 
> Hum... don't repeat what you saw ;)

Hehe. No worries. I've been reading a lot about DBIC this week, and thought it
might be relevant :).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to