Bugzilla – Attachment 119365 Details for
Bug 28028
Remove broken fix_onloan.pl maintenance script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28028: (bug 23463 follow-up) Fix fix_onloan.pl
Bug-28028-bug-23463-follow-up-Fix-fixonloanpl.patch (text/plain), 1.01 KB, created by
Jonathan Druart
on 2021-04-09 09:41:12 UTC
(
hide
)
Description:
Bug 28028: (bug 23463 follow-up) Fix fix_onloan.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-04-09 09:41:12 UTC
Size:
1.01 KB
patch
obsolete
>From 91d3dd3fef966d693894c39e4216b5230d34d501 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 9 Apr 2021 11:39:36 +0200 >Subject: [PATCH] Bug 28028: (bug 23463 follow-up) Fix fix_onloan.pl > >There is an obvious error in the script, the name of the method is >missing >Undefined subroutine &Koha::Items called at misc/migration_tools/fix_onloan.pl line 13. > >Test plan: >Run the script and confirm that it does not explode >--- > misc/migration_tools/fix_onloan.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/migration_tools/fix_onloan.pl b/misc/migration_tools/fix_onloan.pl >index a7a8638d195..f9d56fcd187 100755 >--- a/misc/migration_tools/fix_onloan.pl >+++ b/misc/migration_tools/fix_onloan.pl >@@ -10,7 +10,7 @@ use Koha::Items; > # and put it in the MARC::Record of the item > # > >-my $items = Koha::Items->({ onloan => { '!=' => undef } }); >+my $items = Koha::Items->search({ onloan => { '!=' => undef } }); > > $|=1; > while ( my $item = $items->next ) { >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28028
:
119365
|
119432
|
119607
|
119608
|
119766