From 47e8c8eac0f64ab8c333d8993aa8eb607ae511e8 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Sat, 19 Jan 2019 21:33:22 -0800 Subject: [PATCH] just trying out syntax for pcrud --- Open-ILS/src/eg2/src/app/staff/booking/manage-reservations.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/booking/manage-reservations.component.ts b/Open-ILS/src/eg2/src/app/staff/booking/manage-reservations.component.ts index fab401551c..2d5f7a8ac5 100644 --- a/Open-ILS/src/eg2/src/app/staff/booking/manage-reservations.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/booking/manage-reservations.component.ts @@ -51,7 +51,7 @@ export class ManageReservationsComponent implements OnInit { } return this.pcrud.search('bresv', { "usr" : (this.patronId ? this.patronId : {">" : 1}), - "target_resource.barcode" : (this.resourceBarcode ? this.resourceBarcode : {"!=" : null}) + "target_resource" : {"barcode" : (this.resourceBarcode ? this.resourceBarcode : {"!=" : null})} }, { order_by: orderBy, limit: pager.limit, -- 2.11.0