Open GoogleCodeExporter opened 9 years ago
Sorry, it's a little more subtle than I appreciated. Yuo might want to call
this a "feature".
Essentially when you do steps 2 and 3 then move away from the "to" field 0
records are indeed returned. One could argue that this is sensible, because the
user may be waiting to put 1090 rather than 109. However this behaviour is
somewhat inconsistent with the scenario where "from" and "to" work on their
own; typing in *just* 109 to the "to" box. Or indeed where they work together
but return a positive (and correct) number of records.
I've tried the obvious logical tweaks to the code without success; the code
else if (iMin <= iValue && iValue <= iMax) {
return true;
should fail and the return false should kick in. What am I missing?
Original comment by and...@howefamily.co.uk
on 14 Mar 2013 at 12:11
Original issue reported on code.google.com by
and...@howefamily.co.uk
on 14 Mar 2013 at 10:14