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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 22 Jul 2016 17:18:35 +0000 (17:18 +0000)
commitbea95dace6d6e3d4eb99c1985f7f80e50cc6beb5
tree35733c8f78a270dceda7183069ea1c6dfb3e8673
parent04c7a8a845fb780c72d412133a4b97056c35301e
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: Kyle M Hall <kyle@bywatersolutions.com>
C4/Csv.pm
Koha/Exporter/Record.pm
misc/export_records.pl
tools/export.pl