From c25e2390e74ce6aa743cdd12c78ea3675f0fc6c8 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 4 Apr 2008 16:03:55 +0000 Subject: [PATCH] forgot this too.. can't wait until trunk forks into 1.4 :) Suspend holds when setting Activation Date git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9231 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/holds.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/patron/holds.js b/Open-ILS/xul/staff_client/server/patron/holds.js index e6f2dc9172..899439c6ee 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.js +++ b/Open-ILS/xul/staff_client/server/patron/holds.js @@ -697,7 +697,9 @@ patron.holds.prototype = { if (thaw_date || thaw_date == '') { for (var i = 0; i < obj.retrieve_ids.length; i++) { var hold = obj.holds_map[ obj.retrieve_ids[i].id ]; - hold.thaw_date( thaw_date == '' ? null : util.date.formatted_date(thaw_date + ' 00:00:00','%{iso8601}') ); hold.ischanged('1'); + hold.thaw_date( thaw_date == '' ? null : util.date.formatted_date(thaw_date + ' 00:00:00','%{iso8601}') ); + hold.frozen('t'); + hold.ischanged('1'); hold = obj.flatten_copy(hold); var robj = obj.network.simple_request('FM_AHR_UPDATE',[ ses(), hold ]); if (typeof robj.ilsevent != 'undefined') throw(robj); -- 2.11.0