[open-ils-commits] r15425 - trunk/Open-ILS/xul/staff_client/server/patron (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Feb 1 20:22:50 EST 2010


Author: miker
Date: 2010-02-01 20:22:49 -0500 (Mon, 01 Feb 2010)
New Revision: 15425

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/items.js
Log:
adding a note for future (Jason?) work -- use the time from the original due date if the circ interval is day-granular

Modified: trunk/Open-ILS/xul/staff_client/server/patron/items.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/items.js	2010-02-02 00:49:09 UTC (rev 15424)
+++ trunk/Open-ILS/xul/staff_client/server/patron/items.js	2010-02-02 01:22:49 UTC (rev 15425)
@@ -454,6 +454,8 @@
                     }
                 }
                 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]);



More information about the open-ils-commits mailing list