[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. 123c6c59a03eceb072602588eb27e2346fab9fdd
Evergreen Git
git at git.evergreen-ils.org
Fri Jun 12 10:32:48 EDT 2015
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_2_7 has been updated
via 123c6c59a03eceb072602588eb27e2346fab9fdd (commit)
from 4d08b937c42e5ba9bf971c5b43176d9a0430f2c8 (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 123c6c59a03eceb072602588eb27e2346fab9fdd
Author: blake <blake at mobiusconsortium.org>
Date: Fri Apr 10 14:29:08 2015 -0500
LP1424646 Paid-For Long Overdue Items Still Appear in "Other/Special Circulations" Window
Edited the query inside the fm_IDL.xml file
Signed-off-by: blake <blake at mobiusconsortium.org>
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml
index 8030642..e5989fc 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -3832,7 +3832,7 @@ SELECT usr,
SUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LOST') THEN 1 ELSE 0 END) AS lost,
SUM( CASE WHEN stop_fines = 'CLAIMSRETURNED' THEN 1 ELSE 0 END) AS claims_returned,
- SUM( CASE WHEN stop_fines = 'LONGOVERDUE' THEN 1 ELSE 0 END) AS long_overdue
+ SUM( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN 1 ELSE 0 END) AS long_overdue
FROM action.circulation
WHERE checkin_time IS NULL
GROUP BY 1
@@ -3874,7 +3874,7 @@ SELECT usr,
STRING_AGG( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LOST') THEN id::TEXT ELSE '0' END,',') AS lost,
STRING_AGG( CASE WHEN stop_fines = 'CLAIMSRETURNED' THEN id::TEXT ELSE '0' END,',') AS claims_returned,
- STRING_AGG( CASE WHEN stop_fines = 'LONGOVERDUE' THEN id::TEXT ELSE '0' END,',') AS long_overdue
+ STRING_AGG( CASE WHEN (xact_finish IS NULL AND stop_fines = 'LONGOVERDUE') THEN id::TEXT ELSE '0' END,',') AS long_overdue
FROM action.circulation
WHERE checkin_time IS NULL
GROUP BY 1
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/examples/fm_IDL.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list