From: Garry Collum Date: Tue, 16 Nov 2021 18:43:17 +0000 (-0500) Subject: LP1838580: Holds Shelf detail view record summary doesn't populate X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2248140fe3af54901d8702f0ee5974e0f6c0cb22;p=evergreen%2Fpines.git 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 --- 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