@@ -, +, @@ items in combo-box - Enable checkouts exports by setting syspref ExportWithCsvProfile with a profile - Go to circ page of a patron with checkouts : /cgi-bin/koha/circ/circulation.pl?borrowernumber=xxx - Show checkouts table - Select some checkboxes in "Export" column - Select "ISO2709 with items" in export format combo-box - Click on "Export" - Check the export file contains the items - Check exports "ISO2709 without items" and "CSV" are OK --- koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc @@ -51,8 +51,8 @@ [% IF ( exports_enabled ) %]
- - [% IF Koha.Preference('ExportWithCsvProfile') %] --- a/koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js +++ a/koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js @@ -50,8 +50,7 @@ $(document).ready(function() { if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} }); $("#export_submit").on("click",function(){ - var output_format = $("#output_format").val(); - export_checkouts(output_format); + export_checkouts($("#issues-table-output-format").val()); return false; }); --