From 8eafca4274ebe9bb3c1efb4beae6f84771fdeb05 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 2 Feb 2010 01:22:49 +0000 Subject: [PATCH] adding a note for future (Jason?) work -- use the time from the original due date if the circ interval is day-granular git-svn-id: svn://svn.open-ils.org/ILS/trunk@15425 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/items.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/xul/staff_client/server/patron/items.js b/Open-ILS/xul/staff_client/server/patron/items.js index 4e3b30c8a1..3b07cd9f34 100644 --- a/Open-ILS/xul/staff_client/server/patron/items.js +++ b/Open-ILS/xul/staff_client/server/patron/items.js @@ -454,6 +454,8 @@ patron.items.prototype = { } } if (due_date) { + // XXX We need to append the time component from the original due date to the entered + // date here, if (circ interval % 1 day == 0) var circs = util.functional.map_list(retrieve_ids,function(o){return o.circ_id;}); for (var i = 0; i < circs.length; i++) { var robj = obj.network.simple_request('FM_CIRC_EDIT_DUE_DATE',[ses(),circs[i],due_date]); -- 2.11.0