[Koha-bugs] [Bug 10212] Columns configuration for tables

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 23 00:58:00 CEST 2014


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

--- Comment #89 from David Cook <dcook at prosentient.com.au> ---
(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.


More information about the Koha-bugs mailing list