[Koha-bugs] [Bug 17394] exporting checkouts with items selects without items in combo-box

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 6 10:54:24 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17394

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56092|0                           |1
        is obsolete|                            |

--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 57228
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57228&action=edit
[PASSED QA] Bug 17394 - exporting checkouts with items selects without items in
combo-box

In checkouts table, the is an export form (when some exports syspref are
enabled).
When selecting some checkouts and selecting "ISO2709 with items" in export
format combo-box, clicking on "Export" will select "ISO2709 without items" in
the export format combo-box.
This is quite strange.
Its because the form as 2 inputs with same name and id "output_format" : an
hidden input (the wanted arg for tools/export.pl) and a select (the export
format combo-box).
So an action meant on the hidden input impacts the select.

This patch corrects by changing id and name of the export format combo-box :
issues-table-output-format

TEST plan :
- 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"
=> Without patch, the export format combo-box changes to "ISO2709 without
items"
=> With patch, the export format combo-box does not changes
- Check the export file contains the items
- Check exports "ISO2709 without items" and "CSV" are OK

Signed-off-by: Jesse Maseto <jesse at bywatersolutions.com>

Signed-off-by: Katrin Fischer  <katrin.fischer at bsz-bw.de>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list