Bugzilla – Attachment 45073 Details for
Bug 9184
Ordering from staged file in acq should not offer authority records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9184: Acq - Don't show authority batches when ordering from staged file
Bug-9184-Acq---Dont-show-authority-batches-when-or.patch (text/plain), 1.43 KB, created by
Katrin Fischer
on 2015-11-22 00:23:22 UTC
(
hide
)
Description:
Bug 9184: Acq - Don't show authority batches when ordering from staged file
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-11-22 00:23:22 UTC
Size:
1.43 KB
patch
obsolete
>From a27592931b418d15bbcda84d32639e6c47a12b6d Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 22 Nov 2015 01:18:04 +0100 >Subject: [PATCH] Bug 9184: Acq - Don't show authority batches when ordering > from staged file > >When ordering from a staged file, the list of files >should only include imports of bilbiographic and >no authority data. > >To test - start without the patch: >1) Stage an authority file >2) Stage a bilbiographic file >3) Create a new basked in acquisitions >4) Create a new order line selecting "From a staged file" >5) Verify that both files are shown >6) Apply patch >7) Verify that only the bibliographc file shows > in the list now >--- > acqui/addorderiso2709.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl >index 6bb744f..8ce2ce1 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -338,7 +338,7 @@ sub import_batches_list { > > my @list = (); > foreach my $batch (@$batches) { >- if ( $batch->{'import_status'} =~ /^staged$|^reverted$/ ) { >+ if ( $batch->{'import_status'} =~ /^staged$|^reverted$/ && $batch->{'record_type'} eq 'biblio') { > # check if there is at least 1 line still staged > my $stagedList=GetImportRecordsRange($batch->{'import_batch_id'}, undef, 1, $batch->{import_status}, { order_by_direction => 'ASC' }); > if (scalar @$stagedList) { >-- >1.9.1
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 9184
:
45073
|
45074
|
45176
|
45266