From ea48a13d7036075bb1101bd7786ffc414ea96eec Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 2 Feb 2011 20:51:40 +0000 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/server/cat/copy_browser.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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' : '', } -- 2.11.0