From 2248140fe3af54901d8702f0ee5974e0f6c0cb22 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Tue, 16 Nov 2021 13:43:17 -0500 Subject: [PATCH] LP1838580: Holds Shelf detail view record summary doesn't populate Fixes the record summary of the detail view from the holds shelf. After the patch is applied the bibliographic data displays in the detail view. To test: 1. Go to Holds Shelf 2. Select a line 3. Click on the Detail View button, and notice that the bibliographic information doesn't populate. 4. Click on the MARC link, to see to that the link does not take you to the MARC view. 5. Apply patch. 6. Repeat 1-4. The bibliographic information now displays, and the MARC link takes you to the correct page. Signed-off-by: Garry Collum Signed-off-by: Terran McCanna Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/default/staff/circ/holds/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js index cc13f30d3b..6fbb10ca19 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js @@ -198,7 +198,7 @@ function($scope , $q , $routeParams , $window , $location , egCore , egHolds , e // when the detail hold is fetched (and updated), update the bib // record summary display record id. $scope.set_hold = function(hold_data) { - $scope.detail_hold_record_id = hold_data.hold.record_id; + $scope.detail_hold_record_id = hold_data.bre_id; } // manage active vs. clearable holds display -- 2.11.0