Bug 29197: Add missing import in commit_file.pl
This patch adds a new method import to the commit_file.pl script. To test: 1. Have MARC data staged 2. Run: $ kshell k$ perl misc/commit_file.pl --list-batches => FAIL: You get Undefined subroutine &main::GetAllImportBatches called at misc/commit_file.pl line 68. 3. Apply this patch 4. Repeat 2 => SUCCESS: You get the list of batches 5. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
802af9c5c8
commit
e8ba35b2fa
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ BEGIN {
|
|||
|
||||
use Koha::Script;
|
||||
use C4::Context;
|
||||
use C4::ImportBatch qw( GetImportBatch BatchCommitRecords BatchRevertRecords );
|
||||
use C4::ImportBatch qw( GetAllImportBatches GetImportBatch BatchCommitRecords BatchRevertRecords );
|
||||
use Getopt::Long qw( GetOptions );
|
||||
|
||||
$| = 1;
|
||||
|
|
Loading…
Reference in a new issue