[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 2cd48a13948524e8cb2d48433256a2654a656a18

Evergreen Git git at git.evergreen-ils.org
Thu Oct 3 17:37:24 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_3 has been updated
       via  2cd48a13948524e8cb2d48433256a2654a656a18 (commit)
      from  3fd423bf541d74d288ad96135979b91a404b46b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2cd48a13948524e8cb2d48433256a2654a656a18
Author: Garry Collum <gcollum at gmail.com>
Date:   Mon May 20 12:48:10 2019 -0400

    lp1813056 Fixes Current Date in Date Returned in Circ History CSV
    
    The date returned column in the csv file created in the opac for the patron's
    Check Out History contains the current date instead of the check-in date. This
    patch fixes that issue.
    
    To test:
    1. Turn on "Keep history of checked out items" in the patron Search and
    History Preferences in the opac, or find a patron that already has this
    option turned on.
    2. Check-in some items that the patron has checked-out.
    3. Wait a day, or if it was an existing history list immediately, go to the patron's Items Checked Out in the opac and look at the Date Returned
    column in the Check Out History list.
    4. Download the CSV file and note that the date is the current date.
    5. Apply the patch.
    6. Refresh and download the CSV file again and note that the Date Returned
    is now the checkin date.
    
    Signed-off-by: Garry Collum <gcollum at gmail.com>
    Signed-off-by: Josh Stompro <stompro at stompro.org>

diff --git a/Open-ILS/src/templates/opac/myopac/circ_history/export.tt2 b/Open-ILS/src/templates/opac/myopac/circ_history/export.tt2
index 45aca551e6..55059cde42 100644
--- a/Open-ILS/src/templates/opac/myopac/circ_history/export.tt2
+++ b/Open-ILS/src/templates/opac/myopac/circ_history/export.tt2
@@ -28,7 +28,7 @@
 [%- date.format(ctx.parse_datetime(circ.circ.xact_start), DATE_FORMAT) | csv-%]
 [%- date.format(ctx.parse_datetime(circ.circ.due_date), DATE_FORMAT) | csv -%]
 [%- IF circ.circ.checkin_time;
-       date.format(ctx.parse_datetime(circ.checkin_time), DATE_FORMAT) | csv;
+       date.format(ctx.parse_datetime(circ.circ.checkin_time), DATE_FORMAT) | csv;
     ELSE; -%]
 ,
 [%- END -%]

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/templates/opac/myopac/circ_history/export.tt2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list