From c416ce2addd430e2016f7ed99177cb8c6f14c8b3 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 3 Jul 2024 13:12:19 +0000 Subject: [PATCH] comment out dev only code --- Koha/Plugin/Com/PTFSEurope/HLISD.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Koha/Plugin/Com/PTFSEurope/HLISD.pm b/Koha/Plugin/Com/PTFSEurope/HLISD.pm index 104ed62..bf85cb2 100644 --- a/Koha/Plugin/Com/PTFSEurope/HLISD.pm +++ b/Koha/Plugin/Com/PTFSEurope/HLISD.pm @@ -153,10 +153,10 @@ sub harvest_libraries { my $mapping = $self->koha_library_to_hlisd_mapping(); - my $i = 0; + #my $i = 0; #DEV ONLY: ONLY LOAD 30 LIBRARIES FOR TESTING foreach my $library (@$libraries) { - last if $i == 30; #DEV ONLY: ONLY LOAD 30 LIBRARIES FOR TESTING - $i++; #DEV ONLY: ONLY LOAD 30 LIBRARIES FOR TESTING + #last if $i == 30; #DEV ONLY: ONLY LOAD 30 LIBRARIES FOR TESTING + #$i++; #DEV ONLY: ONLY LOAD 30 LIBRARIES FOR TESTING my $hlisd_field = $self->get_HLISD_library_field('branchname'); my $koha_library = Koha::Libraries->find(