[open-ils-commits] r19369 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 2 15:51:45 EST 2011
Author: phasefx
Date: 2011-02-02 15:51:40 -0500 (Wed, 02 Feb 2011)
New Revision: 19369
Modified:
trunk/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: trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2011-02-02 19:58:59 UTC (rev 19368)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2011-02-02 20:51:40 UTC (rev 19369)
@@ -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