From fdf642ce899980073d83dff92703b0f529c26c91 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Fri, 28 Oct 2005 00:14:46 +0000 Subject: [PATCH] Show the test date instead of the submission date. Sort the test results by test date instead of by a string sort on release name --- include/testResults.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/testResults.php b/include/testResults.php index a2682a0..297f032 100644 --- a/include/testResults.php +++ b/include/testResults.php @@ -325,7 +325,7 @@ class testData{ $hResult = query_appdb("SELECT * FROM testResults WHERE versionId = '".$iVersionId."' - ORDER BY testedRelease DESC ;"); + ORDER BY testedDate DESC ;"); if(!$hResult || mysql_num_rows($hResult) == 0) return false; } @@ -345,7 +345,7 @@ class testData{ $hResult = query_appdb("SELECT * FROM testResults WHERE versionId = '".$iVersionId."' - ORDER BY testedRelease DESC;"); + ORDER BY testedDate DESC;"); if(!$hResult || mysql_num_rows($hResult) == 0) return; echo '

Testing Results
',"\n"; @@ -354,7 +354,7 @@ class testData{ echo '',"\n"; echo '',"\n"; echo 'Distribution',"\n"; - echo 'Date Submitted',"\n"; + echo 'Test date',"\n"; echo 'Wine version',"\n"; echo 'Installs?',"\n"; echo 'Runs?',"\n"; @@ -377,7 +377,7 @@ class testData{ echo '',"\n"; echo $oDistribution->sName.'',"\n"; echo ' ',"\n"; - echo ' '.date("M d Y", mysqltimestamp_to_unixtimestamp($oTest->sSubmitTime)).'',"\n"; + echo ' '.date("M d Y", mysqltimestamp_to_unixtimestamp($oTest->sTestedDate)).'',"\n"; echo ' '.$oTest->sTestedRelease.' ',"\n"; echo ' '.$oTest->sInstalls.' ',"\n"; echo ' '.$oTest->sRuns.' ',"\n";