]> git.koha-community.org Git - koha.git/commit
Bug 15451: Koha::CsvProfiles - Remove GetCsvProfileId
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Dec 2015 18:23:24 +0000 (18:23 +0000)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:20:00 +0000 (23:20 +1200)
commit63802c7ec270d63bd5d3b5c06eaf8828c4b798e1
tree9114e9df9e82bd975f66d09af08bca9343656e1f
parentad9bef2419394a7f3677a9bd8bc04fa31785612f
Bug 15451: Koha::CsvProfiles - Remove GetCsvProfileId

This subroutine returned the export_format_id for a given profile name.
This can be done easily with the Koha::CsvProfiles->search method.

Test plan:
Export records using the misc/export_records.pl script and the
export tool.
If you are exporting using the MARC format, the profile filled in the pref
ExportWithCsvProfile will be used (or the one passed in parameter of
misc/export_records.pl).
If you are exporting using the CSV format, you can choose a profile in
the dropdown list.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Exported using tool & cmd, marc & csv. Pref is used.
No errors

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mason James <mtj@kohaaloha.com>
C4/Csv.pm
Koha/Exporter/Record.pm
misc/export_records.pl
tools/export.pl