From 792d27e04503791aa86d1bde34f21c6a61168598 Mon Sep 17 00:00:00 2001 From: Cesar Velez Date: Thu, 15 Jun 2017 15:56:48 -0400 Subject: [PATCH] LP#1665115-WebStaff add longoverdue items count to Items Out Longover due items should always, be reflected in total tally count Which is what displays in the ItemsOut tab and Patron summary area. Signed-off by: Cesar Velez Signed-off-by: Jason Etheridge Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/circ/patron/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js index 02ab395c57..fe126d48ae 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js @@ -518,6 +518,8 @@ function($q , $timeout , $location , egCore, egUser , $locale) { stats.checkouts.out = Number(stats.checkouts.out); stats.checkouts.total_out = stats.checkouts.out + stats.checkouts.overdue; + + stats.checkouts.total_out += Number(stats.checkouts.long_overdue); if (!egCore.env.aous['circ.do_not_tally_claims_returned']) stats.checkouts.total_out += stats.checkouts.claims_returned; -- 2.11.0