File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,9 @@ public function getCheckouts(User $patron): array {
673
673
if (!empty ($ result ->OverdueItems ->OverdueItem )) {
674
674
$ itemsToLoad = array_merge ($ itemsToLoad , $ result ->OverdueItems ->OverdueItem );
675
675
}
676
+ if (!empty ($ result ->LostItems ->LostItem )) {
677
+ $ itemsToLoad = array_merge ($ itemsToLoad , $ result ->LostItems ->LostItem );
678
+ }
676
679
677
680
foreach ($ itemsToLoad as $ chargeItem ) {
678
681
$ curTitle = new Checkout ();
@@ -2323,7 +2326,9 @@ public function getAccountSummary(User $patron): AccountSummary {
2323
2326
if (!empty ($ patronSummaryResponse ) && is_object ($ patronSummaryResponse )) {
2324
2327
$ summary ->numCheckedOut += $ patronSummaryResponse ->ChargedItemsCount ;
2325
2328
$ summary ->numCheckedOut += $ patronSummaryResponse ->OverdueItemsCount ;
2329
+ $ summary ->numCheckedOut += $ patronSummaryResponse ->LostItemsCount ;
2326
2330
$ summary ->numOverdue = $ patronSummaryResponse ->OverdueItemsCount ;
2331
+ $ summary ->numOverdue += $ patronSummaryResponse ->LostItemsCount ;
2327
2332
$ summary ->numAvailableHolds = $ patronSummaryResponse ->HoldItemsCount ;
2328
2333
$ summary ->numUnavailableHolds = $ patronSummaryResponse ->UnavailableHoldsCount ;
2329
2334
Original file line number Diff line number Diff line change 86
86
//kirstien
87
87
88
88
//james
89
+ ### Carl.X Updates
90
+ - Add Lost items to Checked Out page (DIS-244) (* JStaub* )
89
91
90
92
//alexander
91
93
You can’t perform that action at this time.
0 commit comments