Bug 28028: Remove misc/migration_tools/fix_onloan.pl
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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
bda9b9e122
commit
c285de9802
1 changed files with 0 additions and 19 deletions
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue