[open-ils-commits] r19370 - branches/rel_2_0/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 2 15:52:17 EST 2011
Author: phasefx
Date: 2011-02-02 15:52:11 -0500 (Wed, 02 Feb 2011)
New Revision: 19370
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js
Log:
let due date show up correctly in the copy browser for circulating items
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2011-02-02 20:51:40 UTC (rev 19369)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2011-02-02 20:52:11 UTC (rev 19370)
@@ -1451,6 +1451,14 @@
'aou' : obj.data.hash.aou[ acn_tree.owning_lib() ],
'acn' : acn_tree,
'acp' : acp_item,
+ 'circ' :
+ acp_item.circulations()
+ ? (
+ acp_item.circulations().length > 0
+ ? acp_item.circulations()[0]
+ : null
+ )
+ : null,
'volume_count' : '',
'copy_count' : '',
}
More information about the open-ils-commits
mailing list