From be8b5ea720ec9a3cac5bb1eea44fc18d8f980d73 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 --- 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