Bugzilla – Attachment 44120 Details for
Bug 15072
Breadcrumbs and titles inconsistent in Label creator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14722: CSV is only available for biblio records
Bug-14722-CSV-is-only-available-for-biblio-records.patch (text/plain), 1.61 KB, created by
Marc Véron
on 2015-10-28 10:56:16 UTC
(
hide
)
Description:
Bug 14722: CSV is only available for biblio records
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-10-28 10:56:16 UTC
Size:
1.61 KB
patch
obsolete
>From 035559c994906c196442352af9eeb1ef28a31d81 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 19 Oct 2015 09:28:16 +0100 >Subject: [PATCH] Bug 14722: CSV is only available for biblio records > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >http://bugs.koha-community.org/show_bug.cgi?id=15072 >--- > misc/export_records.pl | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/misc/export_records.pl b/misc/export_records.pl >index 67210e7..b00dde8 100755 >--- a/misc/export_records.pl >+++ b/misc/export_records.pl >@@ -67,6 +67,10 @@ $record_type ||= 'bibs'; > # Retrocompatibility for the format parameter > $output_format = 'iso2709' if $output_format eq 'marc'; > >+if ( $output_format eq 'csv' and $record_type eq 'auths' ) { >+ pod2usage(q|CSV output is only available for biblio records|); >+} >+ > > if ( $timestamp and $record_type ne 'bibs' ) { > pod2usage(q|--timestamp can only be used with biblios|); >@@ -221,7 +225,7 @@ Print a brief help message. > > =item B<--format> > >- --format=FORMAT FORMAT is either 'xml', 'csv' or 'marc' (default). >+ --format=FORMAT FORMAT is either 'xml', 'csv' (biblio records only) or 'marc' (default). > > =item B<--date> > >@@ -242,6 +246,7 @@ Print a brief help message. > > --csv_profile_id=ID Generate a CSV file with the given CSV profile id (see tools/csv-profiles.pl) > Unless provided, the one defined in the system preference 'ExportWithCsvProfile' will be used. >+ This can only be used to export biblio records. > > =item B<--deleted_barcodes> > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15072
:
44097
|
44098
|
44099
|
44120
|
44170
|
44171
|
44172
|
44173
|
44188
|
44189
|
44190
|
44191