From: phasefx Date: Wed, 2 Feb 2011 20:51:40 +0000 (+0000) Subject: let due date show up correctly in the copy browser for circulating items X-Git-Tag: kcls-grey-screen-prod1~124 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ea48a13d7036075bb1101bd7786ffc414ea96eec;p=evergreen%2Fequinox.git let due date show up correctly in the copy browser for circulating items git-svn-id: svn://svn.open-ils.org/ILS/trunk@19369 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.js b/Open-ILS/xul/staff_client/server/cat/copy_browser.js index c4604d3eec..e8d1644968 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js @@ -1451,6 +1451,14 @@ cat.copy_browser.prototype = { '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' : '', }