[Koha-bugs] [Bug 19490] Add a 'holds' column to the Batch Item Modification Tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 03:52:20 CEST 2019


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

--- Comment #19 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
From
  commit e427cf5b3f3ded54dbc6899c149a2de3e8ab13ea
  Bug 19490: Add a 'Holds' column to the items batchmodification tool

This following line:
+            $this_row{item_holds}   = Koha::Holds->search( itemnumber =>
$itemnumber )->count;

displays a DBIC warning:
[Mon Apr 29 01:49:32.831375 2019] [cgi:error] [pid 17243] [client
192.168.50.1:42814] AH01215: [Mon Apr 29 01:49:32 2019] batchMod.pl:
DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use
search( \\%condition ) instead at /home/vagrant/kohaclone/Koha/Objects.pm line
136: /home/vagrant/kohaclone/tools/batchMod.pl, referer:
http://pro.kohadev.org/cgi-bin/koha/tools/batchMod.pl

Must be ->search({ itemnumber => $itemnumber })->count

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


More information about the Koha-bugs mailing list