From: Ian Jackson Date: Sun, 23 Aug 2009 16:04:29 +0000 (+0100) Subject: Fix unticking X-Git-Tag: 3.4~127 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=commitdiff_plain;h=cfb91181c6dec6df662af8325c0293d4c2e8be25;hp=ef57d601849ccb26cd6a69684be7aec261d7c5be Fix unticking --- diff --git a/yarrg/web/routetrade b/yarrg/web/routetrade index 7d9dd8b..97359a9 100644 --- a/yarrg/web/routetrade +++ b/yarrg/web/routetrade @@ -45,11 +45,8 @@ trades to start ith and have a button to show all? 16:39 Also, maybe colour to highlight the suggested trades? -16:40 can it give a total investment/profit for the suggested trades? 16:40 columns should be sortable with the small arrows as before -16:46 Oh the unticking has become broken. - 16:51 YPP interfaces have price then qty. You have qty then price. This is confusing! 16:51 the max column ordering is OK @@ -299,7 +296,8 @@ die "$cmpu $uue ?" if length $cmpu > 20; die "$f->{UidLong} = $f->{UidShort} = $recons_long ?"; } - if ($qa->{"R$f->{UidShort}"} && !$qa->{"T$f->{UidShort}"}) { + if (defined $qa->{"R$f->{UidShort}"} && + !defined $qa->{"T$f->{UidShort}"}) { $f->{Suppress}= 1; }