From: Dan Briem Date: Sat, 5 Nov 2022 18:37:36 +0000 (-0400) Subject: LP#1995770 Hold Target Not Loading From AngJS Patron Interface X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fdbriem%2Flp1995770_angjs_place_holds_patron_target;p=working%2FEvergreen.git 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 --- 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';