[OPEN-ILS-GENERAL] Check out history CSV download contains less information than displayed within a browser?

Cerninakova Eva cernin at jabok.cz
Wed Jan 17 08:56:54 EST 2018


Hi Jesse,

You can configure  template for  the checkout history CSV download in the
staff client:
Admin > Local Administration > Notification/Action Trigger
The name of the trigger event definition for CSV output is "Circ History
CSV"

However, in our system the  CSV is the same  (by default) as what  patron
can  view in web browser.
The template for CSV output looks like this:


Title,Author,Call Number,Barcode,Format
[%-
FOR circ IN target;
    bibxml = helpers.unapi_bre(circ.target_copy.call_number.record, {flesh
=> '{mra}'});
    title = "";
    FOR part IN bibxml.findnodes('//*[@tag="245"]/*[@code="a" or
@code="b"]');
        title = title _ part.textContent;
    END;
    author = bibxml.findnodes('//*[@tag="100"]/*[@code="a"]').textContent;
    item_type =
bibxml.findnodes('//*[local-name()="attributes"]/*[local-name()="field"][@name="item_type"]').getAttribute('coded-value')
%]

    [%- helpers.csv_datum(title) -%],
    [%- helpers.csv_datum(author) -%],
    [%- helpers.csv_datum(circ.target_copy.call_number.label) -%],
    [%- helpers.csv_datum(circ.target_copy.barcode) -%],
    [%- helpers.csv_datum(item_type) %]
[%- END -%]





Hope this helps ;-)

Eva









---
Mgr. Eva Cerniňáková
cernin at jabok.cz
Tel. +420 211 222 409

Knihovna Jabok
http:/knihovna.jabok.cz
Tel.  +420 211 222 410
Jabok - Vyšší odborná škola sociálně pedagogická a teologická
Salmovská 8, 120 00 Praha 2


2018-01-16 20:34 GMT+01:00 Jesse McCarty <jessem at burlingtonwa.gov>:

> Hello everyone,
>
>
>
> Was curious if anyone had any insight into configuring the check-out
> history download and what gets included in the download? For our
> consortium, when a patron has check out history enabled and is viewing in
> the browser, there are columns for checkout date, due date and returned
> date. However, when you download the CSV none of these are present in the
> download. Is there a way to configure Evergreen to include these in the
> checkout history download?
>
> Thanks in advance.
>
>
>
> Jesse McCarty
>
> City of Burlington
>
> Information Systems Technician
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20180117/bb86847c/attachment.html>


More information about the Open-ils-general mailing list