https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16503
Bug ID: 16503
Summary: Label creator: grouping fields with quotes does not
work in layout creator
Change sponsored?: ---
Product: Koha
Version: 3.22
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Label/patron card printing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The description for "Data field" under label-edit-layout.pl shows
"Enter a comma separated list of fields to print. You may include any Koha
field or MARC subfield.
See online help for advanced options
ex: barcode, itemcallnumber, title, "050a 050b", 300a
Fields homebranch_description, holdingbranch_description, ccode_description,
location_description and permanent_location_description show description
instead of code."
This seems to indicate that grouping fields using quotes, non-comma separated,
*should* work:
Given an item with the following data:
title: Juggling for the complete klutz /
author: Cassidy, John.
itemcallnumber: JNF 793.8 Cas
Using the data fields
"title author", itemcallnumber
Should yield a CSV export this:
"Juggling for the complete klutz / Cassidy, John.","JNF 793.8 Cas"
Instead I get this:
,"JNF 793.8 Cas"
To replicate:
1/ Create a record using the title, author and itemcallnumber above.
2/ Go to tools > label creator
3/ Add a batch containing the created item
4/ Add a new layout. Click the list fields radio button, and add the fields
title, author, itemcallnumber
5/ Export the batch as CSV using the new layout. The resulting file will look
like this:
"Juggling for the complete klutz /","Cassidy, John.","JNF 793.8 Cas"
6/ Edit the layout, change the field list to
"title author", itemcallnumber
7/ Export the batch again, the new CSV file will read
,"JNF 793.8 Cas"
The bug was replicated under version 3.23.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/