Bugzilla – Attachment 46115 Details for
Bug 15453
Cannot download a list in the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15453: Assign the correct shelfid to the download list links
Bug-15453-Assign-the-correct-shelfid-to-the-downlo.patch (text/plain), 2.59 KB, created by
Jonathan Druart
on 2015-12-31 11:15:14 UTC
(
hide
)
Description:
Bug 15453: Assign the correct shelfid to the download list links
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-12-31 11:15:14 UTC
Size:
2.59 KB
patch
obsolete
>From 36400c448463ba157d52884327595f9051b113c3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 31 Dec 2015 11:11:51 +0000 >Subject: [PATCH] Bug 15453: Assign the correct shelfid to the download list > links > >Introduced by bug 14544, the shelfnumber is not correctly passed to the >template. >The shelf variable is passed to the template, to access the shelfnumber, >we need to get shelf.shelfnumber. > >Test plan: >At the intranet, try to download a list. >Without this patch it won't work. >--- > .../intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >index e43cf13..be58db0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >@@ -43,11 +43,11 @@ > <div class="btn-group"> > <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Download list <span class="caret"></span></button> > <ul class="dropdown-menu"> >- <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&shelfid=[% shelfnumber %]">iso2709</a></li> >- <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&shelfid=[% shelfnumber %]">RIS</a></li> >- <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&shelfid=[% shelfnumber %]">BibTex</a></li> >+ <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&shelfid=[% shelf.shelfnumber %]">iso2709</a></li> >+ <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&shelfid=[% shelf.shelfnumber %]">RIS</a></li> >+ <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&shelfid=[% shelf.shelfnumber %]">BibTex</a></li> > [% FOREACH csv_profile IN csv_profiles %] >- <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=[% csv_profile.export_format_id %]&shelfid=[% shelfnumber %]">CSV - [% csv_profile.profile %]</a></li> >+ <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=[% csv_profile.export_format_id %]&shelfid=[% shelf.shelfnumber %]">CSV - [% csv_profile.profile %]</a></li> > [% END %] > </ul> > </div> >-- >2.1.0
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 15453
:
46115
|
46152
|
46347