]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 14 Jul 2015 21:01:50 +0000 (09:01 +1200)
commit784e05e87302363760c47a7c4dfae6019d62fe6f
tree035845c974106c19a93615af7e318969d39039df
parent72c88c29f0198ab608fe6b8f6f0499c36d7545e9
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>
(cherry picked from commit cd9a827b6928ed0cb80c78ebf897e2d77132296a)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc