Bugzilla – Attachment 56294 Details for
Bug 17435
Gives ability to display stocknumber in the search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 17435: Gives ability to display stocknumber in the search results
0001-Bug_17435-Gives-ability-to-display-stocknumber-in-se.patch (text/plain), 1.28 KB, created by
Koha Team University Lyon 3
on 2016-10-12 14:33:59 UTC
(
hide
)
Description:
bug 17435: Gives ability to display stocknumber in the search results
Filename:
MIME Type:
Creator:
Koha Team University Lyon 3
Created:
2016-10-12 14:33:59 UTC
Size:
1.28 KB
patch
obsolete
>From 9645f84d7efc8184d1fb0a21a2868e10237dbb80 Mon Sep 17 00:00:00 2001 >From: kohamaster <preprod@kohaVM> >Date: Wed, 12 Oct 2016 16:17:04 +0200 >Subject: [PATCH] Bug_17435 Gives ability to display stocknumber in search > results > >Adds stocknumber to data provided for xslt transformation >--- > C4/XSLT.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 534226c..979c48c 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -322,6 +322,7 @@ sub buildKohaItemsNamespace { > $location = $item->{location}? xml_escape($shelflocations->{$item->{location}}||$item->{location}):''; > $ccode = $item->{ccode}? xml_escape($ccodes->{$item->{ccode}}||$item->{ccode}):''; > my $itemcallnumber = xml_escape($item->{itemcallnumber}); >+ my $stocknumber = $item->{stocknumber}? xml_escape($item->{stocknumber}):''; > $xml .= > "<item>" > . "<homebranch>$homebranch</homebranch>" >@@ -330,6 +331,7 @@ sub buildKohaItemsNamespace { > . "<ccode>$ccode</ccode>" > . "<status>$status</status>" > . "<itemcallnumber>$itemcallnumber</itemcallnumber>" >+ . "<stocknumber>$stocknumber</stocknumber>" > . "</item>"; > } > $xml = "<items xmlns=\"http://www.koha-community.org/items\">".$xml."</items>"; >-- >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 17435
:
56294
|
56565
|
56744