just trying out syntax for pcrud
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 20 Jan 2019 05:33:22 +0000 (21:33 -0800)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 20 Jan 2019 05:33:22 +0000 (21:33 -0800)
Open-ILS/src/eg2/src/app/staff/booking/manage-reservations.component.ts

index fab4015..2d5f7a8 100644 (file)
@@ -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,