[Koha-bugs] [Bug 26414] New: Unable to export Withdrawn status using CSV profile

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 8 23:44:44 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26414

            Bug ID: 26414
           Summary: Unable to export Withdrawn status using CSV profile
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

When using CSV profiles to export MARC records, it is impossible to export the
withdrawn status. I suspect it is because withdrawn is in 952$0 and 0 is
considered null rather than an actual 0.

To replicate:
1) Go to Tools > CSV profiles
2) Click on New CSV profile
3) Enter a profile name (ex. Simple record)
4) In the Profile MARC fields field enter the following (for MARC21)
245a|100a|952o|9520
5) Save your profile
6) Go to Search and search for something
7) Add a couple of things in your cart
8) Go to your cart
9) Click on Download and choose your CSV profile
10) Open the file and notice the 9520 column contains the whole of the 952
field and not just the withdrawn status

I tried with different ways to write the MARC fields, but 952$0 just never
shows alone.
245a|100a|952o|Withdrawn=952$0
245a|100a|952o|952$0

Caroline

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list