Bug 7986: Export issues for patron
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 4 Jul 2012 15:02:12 +0000 (17:02 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 13 Sep 2012 15:58:30 +0000 (17:58 +0200)
commit0f3f61e756609fab636cea6ab387d9302b572861
tree71998c1691e8b25c02d6c36a53845354d76af5dd
parent223bf0099fcb837fb6bc1c719517e175c43f6ffc
Bug 7986: Export issues for patron

In the circulation page, you can now export (as csv or iso2709) a list
of items which are currently checked out by a borrower.

3 export types:
- iso2709 with items: Export the items list in iso2709 format with item
  informations.
- iso2709 without items: Export the items list in iso2709 format without
  item informations.
- CSV: Export the items list based on a csv profil.

2 new system preferences:
- DontExportFields: a list of fields not to be export
- CsvProfileForExport: The Csv profile name used for the csv export

Test plan:
- Fill the CsvProfileForExport syspref
- go on the borrower circulation page containing checkouts
- Select one or more items and export them to the 3 different formats.
- check if the result file is what you expected

- Test there is no regression with the export authority
- Test there is no regression using tools/export.pl with the command
  line interface

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
12 files changed:
C4/Biblio.pm
C4/Csv.pm
C4/Record.pm
circ/circulation.pl
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc
koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
tools/export.pl