Bug 7363: allows downloading of lists in CSV format
authorAdrien Saurat <adrien.saurat@biblibre.com>
Fri, 16 Dec 2011 15:51:18 +0000 (16:51 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 13 Jan 2012 11:13:33 +0000 (12:13 +0100)
Getting a list in CSV format was impossible because the
shelfid parameter was empty in the URL.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc

index 3f14e51..7318fb6 100644 (file)
@@ -38,7 +38,7 @@
                { text: _("RIS"), url: "/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&shelfid=[% shelfnumber %]" },
                { text: _("BibTex"), url: "/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&shelfid=[% shelfnumber %]" },
 [% FOREACH csv_profile IN csv_profiles %]
-               { text: _("CSV - [% csv_profile.profile %]"), url: "/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=[% csv_profile.export_format_id %]&shelfid=[% csv_profile.shelfnumber %]" },
+               { text: _("CSV - [% csv_profile.profile %]"), url: "/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=[% csv_profile.export_format_id %]&shelfid=[% shelfnumber %]" },
 [% END %]
                ];
 
@@ -96,4 +96,3 @@
        [% END %]
 </ul>
 </div>
\ No newline at end of file