Bugzilla – Attachment 12552 Details for
Bug 7441
Search results showing wrong branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7441 - search results showing wrong branch - Part 1 - Add holdingbranch to xml
Bug-7441---search-results-showing-wrong-branch---P.patch (text/plain), 1.20 KB, created by
Kyle M Hall (khall)
on 2012-09-27 12:57:49 UTC
(
hide
)
Description:
Bug 7441 - search results showing wrong branch - Part 1 - Add holdingbranch to xml
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-09-27 12:57:49 UTC
Size:
1.20 KB
patch
obsolete
>From e6d35bf7efe55807f64fbcecf654c9600be4e76a Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 27 Mar 2012 14:31:07 -0400 >Subject: [PATCH] Bug 7441 - search results showing wrong branch - Part 1 - Add holdingbranch to xml >Content-Type: text/plain; charset="utf-8" > >--- > C4/XSLT.pm | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index d17b828..d51cad6 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -272,8 +272,9 @@ sub buildKohaItemsNamespace { > $status = "available"; > } > my $homebranch = $item->{homebranch}? xml_escape($branches->{$item->{homebranch}}->{'branchname'}):''; >- my $itemcallnumber = xml_escape($item->{itemcallnumber}); >- $xml.= "<item><homebranch>$homebranch</homebranch>". >+ my $holdingbranch = $item->{holdingbranch}? xml_escape($branches->{$item->{holdingbranch}}->{'branchname'}):''; >+ my $itemcallnumber = xml_escape($item->{itemcallnumber}); >+ $xml.= "<item><homebranch>$homebranch</homebranch><holdingbranch>$holdingbranch</holdingbranch>". > "<status>$status</status>". > "<itemcallnumber>".$itemcallnumber."</itemcallnumber>" > . "</item>"; >-- >1.7.2.5
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 7441
:
8656
|
8657
|
9700
|
9701
|
12550
|
12551
|
12552
|
12553
|
13856
|
13888
|
14229
|
14361
|
14362
|
14977
|
14978
|
14979
|
17901
|
17902
|
17903
|
17968
|
18151
|
18152
|
18153
|
18154
|
18857
|
18858
|
18859
|
18942
|
19089
|
19090
|
19091
|
19470
|
19471
|
19472
|
19473
|
19474
|
19475
|
51963
|
52746
|
52747
|
52810
|
52811
|
54058
|
54101
|
54102
|
54250