Bugzilla – Attachment 18608 Details for
Bug 8307
Set a value for items when receiving
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8307: QA Followup for finishreceive.pl
Bug-8307-QA-Followup-for-finishreceivepl.patch (text/plain), 1.11 KB, created by
Marcel de Rooy
on 2013-06-03 09:57:58 UTC
(
hide
)
Description:
Bug 8307: QA Followup for finishreceive.pl
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-06-03 09:57:58 UTC
Size:
1.11 KB
patch
obsolete
>From fcc679b82d37021fdb1c60e226b030532d4308b9 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 3 Jun 2013 10:19:39 +0200 >Subject: [PATCH] Bug 8307: QA Followup for finishreceive.pl >Content-Type: text/plain; charset=utf-8 > >Only split the expression a=b on the first = sign. >Tested with the very unlikely z=x=1 :) > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > acqui/finishreceive.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl >index 8318ea8..af851ed 100755 >--- a/acqui/finishreceive.pl >+++ b/acqui/finishreceive.pl >@@ -69,7 +69,7 @@ if ($quantityrec > $origquantityrec ) { > for my $in ( @received_items ) { > my $item = C4::Items::GetMarcItem( $biblionumber, $in ); > for my $affect ( @affects ) { >- my ( $sf, $v ) = split q{=}, $affect; >+ my ( $sf, $v ) = split q{=}, $affect, 2; > foreach ( $item->field($itemfield) ) { > $_->update( $sf => $v ); > } >-- >1.7.7.6
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 8307
:
10472
|
11379
|
11525
|
13463
|
16235
|
16250
|
18605
|
18606
|
18607
| 18608