Bugzilla – Attachment 119432 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.06 KB, created by
David Nind
on 2021-04-09 19:26:35 UTC
(
hide
)
Description:
Bug 28028: (bug 23463 follow-up) Fix fix_onloan.pl
Filename:
MIME Type:
Creator:
David Nind
Created:
2021-04-09 19:26:35 UTC
Size:
1.06 KB
patch
obsolete
>From 04ded9aee2c921dc6389df1485a1c36c91e7cb2a 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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 a7a8638d19..f9d56fcd18 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.11.0
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