From: phasefx Date: Mon, 1 Jun 2009 19:58:57 +0000 (+0000) Subject: fixing logic error for the Available On column in various hold list interfaces. ... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=99e7a4a6ddc664ee385212035c9b056896a03cb7;p=Evergreen.git fixing logic error for the Available On column in various hold list interfaces. Stealing Jeff's fix instead of coming up with if/else mangling. Can't test right away, so will backport later git-svn-id: svn://svn.open-ils.org/ILS/trunk@13280 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/circ/util.js b/Open-ILS/xul/staff_client/server/circ/util.js index c520ee63e2..89d4ccecfb 100644 --- a/Open-ILS/xul/staff_client/server/circ/util.js +++ b/Open-ILS/xul/staff_client/server/circ/util.js @@ -1328,7 +1328,7 @@ circ.util.hold_columns = function(modify,params) { if (my.ahr.transit() && my.ahr.transit().dest_recv_time()) { return my.ahr.transit().dest_recv_time().toString(); } - if (my.ahr.capture_time()) { + if (!my.ahr.transit() && my.ahr.capture_time()) { return my.ahr.capture_time().toString(); } return "";