add lost with overdue count in alt patron summary
authorJason Etheridge <jason@esilibrary.com>
Wed, 2 Apr 2014 14:36:01 +0000 (10:36 -0400)
committerJason Stephenson <jason@sigio.com>
Tue, 14 Mar 2017 15:55:42 +0000 (11:55 -0400)
and fix the total out value.

This ignores the org unit setting circ.tally_lost and hardcodes the behavior.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/templates/opac/PatronSummary.tt2

index 4ec1a6d..80f6e1a 100644 (file)
                         <span>
                             [% l(
                                 'Items Overdue: [_1] Total: [_2]',
-                                ctx.checked_out_count.overdue + ctx.checked_out_count.long_overdue,
-                                ctx.checked_out_count.out
+                                ctx.checked_out_count.overdue + ctx.checked_out_count.long_overdue + ctx.checked_out_count.lost,
+                                ctx.checked_out_count.total || 0
                             ) | html %]
                         <span><br/>
                         <span>