Bugzilla – Attachment 51634 Details for
Bug 16484
Virtualshelves: Using no XSLTResultsDisplay breaks content display in intranet (titles not showing in lists)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16484 - Virtualshelves: Using no XSLTResultsDisplay breaks content display in intranet
Bug-16484---Virtualshelves-Using-no-XSLTResultsDis.patch (text/plain), 1.42 KB, created by
Marcel de Rooy
on 2016-05-20 06:18:46 UTC
(
hide
)
Description:
Bug 16484 - Virtualshelves: Using no XSLTResultsDisplay breaks content display in intranet
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-05-20 06:18:46 UTC
Size:
1.42 KB
patch
obsolete
>From 7321d97262657d8b31702eb416269ffb2a290b0f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 9 May 2016 20:33:15 -0400 >Subject: [PATCH] Bug 16484 - Virtualshelves: Using no XSLTResultsDisplay > breaks content display in intranet >Content-Type: text/plain; charset=utf-8 > >To test: >1 - Create a list in staff client >2 - Set XSLTResultsDisplay to blank >3 - View list, titles don't display >4 - Apply patch >5 - View list, titles display >6 - Set XSLTResultsDisplay to default >7 - View list, titles display as before patch > >Signed-off-by: Marc Veron <veron@veron.ch> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > virtualshelves/shelves.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl >index 8130c45..14bd34b 100755 >--- a/virtualshelves/shelves.pl >+++ b/virtualshelves/shelves.pl >@@ -232,6 +232,7 @@ if ( $op eq 'view' ) { > > my $marcflavour = C4::Context->preference("marcflavour"); > my $itemtypeinfo = getitemtypeinfo( $content->biblionumber->biblioitems->first->itemtype, 'intranet' ); >+ $this_item->{title} = $content->biblionumber->title; > $this_item->{author} = $content->biblionumber->author; > $this_item->{dateadded} = $content->dateadded; > $this_item->{imageurl} = $itemtypeinfo->{imageurl}; >-- >1.7.10.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 16484
:
51354
|
51375
| 51634