[Koha-bugs] [Bug 23668] New: Information on syntax for patron attributes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 23 10:39:49 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23668
Bug ID: 23668
Summary: Information on syntax for patron attributes
Change sponsored?: ---
Product: Koha
Version: 19.05
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Documentation
Assignee: koha-bugs at lists.koha-community.org
Reporter: anke.bruns at gwdg.de
QA Contact: testopia at bugs.koha-community.org
In the manual at
https://koha-community.org/manual//19.05/en/html/tools.html#patron-import-label
the syntax for multiple patron attributes which, to complicate things, consist
of multiple words separated by blanks isn't described correctly.
It says:
<citation>
"Note
If loading patron attributes, the ‘patron_attributes’ field should contain a
comma-separated list of attribute types and values.
The attribute type code and a colon should precede each value.
For example: “INSTID:12345,BASEBALL:Cubs”
This field must be wrapped in quotes if multiple values are defined.
Since values can contain spaces, additional doubled-quotes may be
required:
“INSTID:12345,BASEBALL:Cubs,””BASEBALL:White Sox””
"
</citation>
After trying this, and all other possible combinations of attributes and quotes
I could come up with, I found that import only works if the attributes are
entered in the most simple way, namely in single quotes. The blanks can be
which, for the above example, would read:
“INSTID:12345,BASEBALL:Cubs,BASEBALL:White Sox”
I didn't test exactly this combination of attributes, but with similar ones it
worked. If this can be confirmed, maybe the manual can be updated accordingly?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list