]> git.koha-community.org Git - koha.git/commit
Bug 14303: Fix item search CSV export - obsolete "by" and display of publication...
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Tue, 9 Jun 2015 00:44:48 +0000 (02:44 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 10 Jul 2015 13:57:20 +0000 (10:57 -0300)
commitcd9a827b6928ed0cb80c78ebf897e2d77132296a
treec90403d7a404cd12145945a1cc86632a209b2124
parent63427fce6074e8f3c5e0c37b9a76b1618fb0add0
Bug 14303: Fix item search CSV export - obsolete "by" and display of publication year for MARC21

The exported CSV file from the item search didn't display the publication
year in MARC21 installations and the title always contained 'by'
even if there was no author information to display. Also the by is
not needed by MARC21 as the data should include punctuation.

This basically copies the changes done to the JSON format
on bug 13859 to the CSV include.

To test: Switch from 'Screen' to 'CSV'
- Check publication date always displays (MARC21 and UNIMARC)
- Check that for MARC21 the 'by' has been removed from the title information
- Check that for UNIMARC the 'by' only displays when there is also
  an author to display

Tested for MARC21, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc