Bugzilla – Attachment 67669 Details for
Bug 19315
Routing preview may use wrong biblionumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19315: [QA Follow-up] Trivial edits
Bug-19315-QA-Follow-up-Trivial-edits.patch (text/plain), 1.26 KB, created by
Marcel de Rooy
on 2017-10-06 06:25:49 UTC
(
hide
)
Description:
Bug 19315: [QA Follow-up] Trivial edits
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-10-06 06:25:49 UTC
Size:
1.26 KB
patch
obsolete
>From 243c36324bd7584962917962e4e62cd1ed783c11 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 6 Oct 2017 08:21:23 +0200 >Subject: [PATCH] Bug 19315: [QA Follow-up] Trivial edits >Content-Type: text/plain; charset=utf-8 > >Replace $subs->{bibnum} by $biblionumber on a following line. >The scalar in the boolean expression is not needed. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > serials/routing-preview.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl >index 5685b0f..709d9a2 100755 >--- a/serials/routing-preview.pl >+++ b/serials/routing-preview.pl >@@ -67,8 +67,8 @@ if($ok){ > # get biblio information.... > my $biblionumber = $subs->{'bibnum'}; > my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblionumber); >- my @itemresults = GetItemsInfo( $subs->{bibnum} ); >- my $branch = scalar @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode}; >+ my @itemresults = GetItemsInfo( $biblionumber ); >+ my $branch = @itemresults ? $itemresults[0]->{'holdingbranch'} : $subs->{branchcode}; > my $branchname = Koha::Libraries->find($branch)->branchname; > > if (C4::Context->preference('RoutingListAddReserves')){ >-- >2.1.4
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 19315
:
67134
|
67164
|
67668
| 67669 |
70022
|
70026
|
70027
|
70028
|
70044
|
70045
|
70046