[Koha-bugs] [Bug 16889] Move the ::columns subroutines to Koha::Objects->columns

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 03:12:49 CEST 2016


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

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 53243
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53243
Bug 16889: Remove C4::Items::columns and use Koha::Items->columns instead

Review of attachment 53243:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16889&attachment=53243)
-----------------------------------------------------------------

::: C4/Items.pm
@@ +3067,4 @@
>  
>      my $dbh = C4::Context->dbh;
>      my @errors;
> +    my @item_columns = map { "items.$_" } Koha::Items->columns;

This should be triggered by
t/db_dependent/Items/AutomaticItemModificationByAge.t as a test.

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


More information about the Koha-bugs mailing list