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

--- Comment #19 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
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