Revision: 3135 http://vexi.svn.sourceforge.net/vexi/?rev=3135&view=rev Author: clrg Date: 2008-10-18 23:17:14 +0000 (Sat, 18 Oct 2008)
Log Message: ----------- Fix fetchData always being applied with a sort column Modified Paths: -------------- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t 2008-10-18 03:52:10 UTC (rev 3134) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/widget/table.t 2008-10-18 23:17:14 UTC (rev 3135) @@ -125,7 +125,7 @@ /* sanity control */ start = vexi.math.max(start, 0); count = vexi.math.min(rowcount-start, count); - var data = fetchData(start, count, sortby ? th_head.indexof(sortby) : 0, sortasc); + var data = fetchData(start, count, sortby ? th_head.indexof(sortby) : null, sortby ? sortasc : null); startindex = start; if (data) loadData(data); // ensures the bottom-most row is never cut off the screen This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn