Bugzilla – Attachment 119766 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: Remove misc/migration_tools/fix_onloan.pl
Bug-28028-Remove-miscmigrationtoolsfixonloanpl.patch (text/plain), 1.49 KB, created by
Kyle M Hall (khall)
on 2021-04-16 16:48:18 UTC
(
hide
)
Description:
Bug 28028: Remove misc/migration_tools/fix_onloan.pl
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-04-16 16:48:18 UTC
Size:
1.49 KB
patch
obsolete
>From 9ad1d34def8c5717ca0cd540eee36ccf5e7ec943 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: Remove misc/migration_tools/fix_onloan.pl >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >There is an obvious error in the script since bug 23463 and it's known >to be broken for 10 years now (since bug 5579). As nobody complains we >can safely remove this script. > >Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > misc/migration_tools/fix_onloan.pl | 19 ------------------- > 1 file changed, 19 deletions(-) > delete mode 100755 misc/migration_tools/fix_onloan.pl > >diff --git a/misc/migration_tools/fix_onloan.pl b/misc/migration_tools/fix_onloan.pl >deleted file mode 100755 >index a7a8638d19..0000000000 >--- a/misc/migration_tools/fix_onloan.pl >+++ /dev/null >@@ -1,19 +0,0 @@ >-#!/usr/bin/perl >- >-use Modern::Perl; >-use Koha::Script; >-use Koha::Items; >-# >-# the items.onloan field did not exist in koha 2.2 >-# in koha 3.0, it's used to define item availability >-# this script takes the items.onloan field >-# and put it in the MARC::Record of the item >-# >- >-my $items = Koha::Items->({ onloan => { '!=' => undef } }); >- >-$|=1; >-while ( my $item = $items->next ) { >- $item->store; >- print sprintf "Onloan : %s for %s / %s\n", $item->onloan, $item->biblionumber, $item->itemnumber; >-} >-- >2.24.3 (Apple Git-128)
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