From dc9ddbf6d09e3d6d35bb35f8248a65e1ea08141c Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Mon, 10 Dec 2018 13:48:17 -0800 Subject: [PATCH] Adding columns Signed-off-by: Jane Sandberg --- .../booking/current-reservations.component.html | 26 ++++++++++++++++++---- .../booking/current-reservations.component.ts | 5 +++-- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.html b/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.html index 8c61c50df2..2c4c527659 100644 --- a/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.html +++ b/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.html @@ -5,10 +5,28 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.ts b/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.ts index 563125d9c8..b2095d8fb2 100644 --- a/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/booking/current-reservations.component.ts @@ -27,8 +27,9 @@ export class CurrentReservationsComponent implements OnInit { return this.pcrud.search('bresv', {"usr" : (this.patronId ? this.patronId : {">" : 1})}, { order_by: orderBy, limit: pager.limit, - offset: pager.offset - }); + offset: pager.offset, + flesh: 1, + flesh_fields: {'bresv' : ['usr', 'capture_staff', 'target_resource', 'target_resource_type', 'current_resource', 'request_lib', 'pickup_lib']}}); } } -- 2.11.0