LP#1709476 Copy summary aged circ display repair
authorBill Erickson <berickxx@gmail.com>
Wed, 9 Aug 2017 20:41:53 +0000 (16:41 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 9 Aug 2017 21:25:14 +0000 (17:25 -0400)
commitdcf52caab8f188d250ac82fd9e6b95fa07a1f320
tree63c9c20e0ffdd7ab33646a6c1d2e3a7bd0da4557
parentd8eacd2fd21ed5b6670333ad3a2d4c685634680f
LP#1709476 Copy summary aged circ display repair

Always check active and aged circs (via "aacs" class) for circs to
display for a given copy in the item status Quick Summary and Recent
Circ History tabs.  When a aged circ is encountered, display the '<Aged
Circulation>' tag in lieu of the patron's name.

To test:
[1] Checkout and checkin a copy.
[2] Checkout and checkin the same copy to a different patron
[3] Manually delete the 2nd circulation in the database.
[4] Load the Item Status interface for the copy.
[5] Confirm chekout time, etc. for the 2nd show in the Quick Summary
    circulation data.
[6] Confirm the patron displayed under the 'Recent Circ History' tab
    shows '<Aged Circulation>'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/cat/item/t_circs_pane.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js