Getting a list in CSV format was impossible because the
shelfid parameter was empty in the URL.
---
 .../prog/en/includes/virtualshelves-toolbar.inc    |    4 ++--
 1 files changed, 2 insertions(+), 2 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 3f14e51..18304a2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc
@@ -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,4 @@
        [% END %]
 </ul>
 </div>
- 
\ No newline at end of file
+ 
-- 
1.7.4.1

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to