[Koha-bugs] [Bug 20551] Add option for including deleted records in export_records.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 1 15:50:21 CEST 2022


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

--- Comment #68 from David Gustafsson <glasklas at gmail.com> ---
(In reply to Marcel de Rooy from comment #59)
> sub export
> 
>         binmode $fh, ':encoding(UTF-8)' unless $format eq 'csv';
>     } else {
>         binmode STDOUT, ':encoding(UTF-8)' unless $format eq 'csv';
> 
> What happens if we choose csv? Are we not doing UTF-8 ?
> Later we do:
> 
> print marc2csv( $record_ids, $csv_profile_id, $itemnumbers );

marc2csv uses GetMarcBiblio to load biblios that does not support loading
deleted biblios which resides in another table. marc2csv would have to be
carefully reviewed and refactored to ensure it can handle deleted biblios, this
would increase the scope of this patch and I just did not think it was worth
the effort. A separate issues could perhaps be created in case there is an
interest implementing support for this.

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


More information about the Koha-bugs mailing list