https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8612
Josef Moravec <josef.mora...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off --- Comment #94 from Josef Moravec <josef.mora...@gmail.com> --- (In reply to Marcel de Rooy from comment #81) > See two things so far: > > [1] Regex for field does not work: > $field =~ s/[^\.]*\.?//; # Remove the table name if exists. > Does not work well if there is no table in front. > Try this: > $field="title"; > print "$field\n"; > $field =~ s/[^\.]*\.?//; # Remove the table name if exists. > print "$field\n"; Fixed by first today's followup > [2] Regex for header and fieldname makes header no longer optional. > while ( $csv_profile_content =~ / > ([^=]+) # header > = > ([^\|]+) # fieldname (table.row or row) > \|? /gxms > ) { > But if I understand correctly from this feature, the header should be > optional. > === Quote > You have to define which fields you want to export, separated by pipes. > You can also use your own headers (instead of the ones from Koha) by > prefixing the field name with an header, followed by the equal sign. > === > If I remove the headers now, I will have an empty csv file. Fixed by second today's followup Third followup is adding one more test case -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/