From 5b2fd13e6dd0fa210095a4b6075fdb66786117ec Mon Sep 17 00:00:00 2001 From: Dan Briem Date: Sat, 5 Nov 2022 14:37:36 -0400 Subject: [PATCH] LP#1995770 Hold Target Not Loading From AngJS Patron Interface Experimental Angular circ interfaces store the patron hold target as a cookie, but the AngularJS interfaces used localStorage. This updates the AngularJS interface to store it as a cookie. Signed-off-by: Dan Briem --- Open-ILS/web/js/ui/default/staff/circ/patron/holds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/holds.js b/Open-ILS/web/js/ui/default/staff/circ/patron/holds.js index 3173bfdb70..795455df79 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/holds.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/holds.js @@ -146,7 +146,7 @@ function($scope, $q, $routeParams, egCore, egUser, patronSvc, $scope.place_hold = function() { - egCore.hatch.setLocalItem( + egCore.hatch.setLoginSessionItem( 'eg.circ.patron_hold_target', patronSvc.current.card().barcode()); $window.location.href = '/eg2/staff/catalog'; -- 2.11.0