[Koha-bugs] [Bug 14722] Refactor the export tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 19 10:31:27 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14722

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Katrin Fischer from comment #5)
> A few small things:
> 
> 1) Could we rename the script from just export.pl to export_records.pl? I
> think this would make it easier to spot and be in line with the
> export_borrowers.pl script already in the same directory.

Yes, agreed.
Feel free to squash patches 2 and 3.

> 2) Running the script without any argument exports all your bibliographic
> records - this could create quite a big file for a bigger catalog. Could it
> be better to display the help and have a -c switch for confirming or similar?

It's the current behavior. If we want to change it, it should be done in
another bug report I think.

> 3) Some of the options have no documentation. For example: start_accession
> and end_accession - is this the date_created from the record?

I documented all the options in a new patch.

> 4) Are csv and auths incompatible? It seems that 
> ./misc/export.pl --filename=koha2.mrc --format=csv --record-type=auths
> Creates a file with bib data.

Exactly, it does not work.
I have added a safeguard in the script.

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


More information about the Koha-bugs mailing list