Remember Show All Tests when switching between test reports
This commit is contained in:
@@ -562,7 +562,7 @@ class testData{
|
||||
}
|
||||
|
||||
/* Creates and returns a table row for a test result table */
|
||||
function CreateTestTableRow($iCurrentId, $sLink)
|
||||
function CreateTestTableRow($iCurrentId, $sLink, $bShowAll)
|
||||
{
|
||||
$oVersion = new Version($this->iVersionId);
|
||||
$oApp = new Application($oVersion->iAppId);
|
||||
@@ -596,6 +596,9 @@ class testData{
|
||||
|
||||
$sUrl = $sLink.$this->iTestingId;
|
||||
|
||||
if($bShowAll)
|
||||
$sUrl .= '&bShowAll=true';
|
||||
|
||||
$oTableRowClick = new TableRowClick($sUrl);
|
||||
$oTableRowClick->SetHighlight($oTableRowHighlight);
|
||||
|
||||
@@ -678,7 +681,7 @@ class testData{
|
||||
while($oRow = query_fetch_object($hResult))
|
||||
{
|
||||
$oTest = new testData($oRow->testingId);
|
||||
$oTableRow = $oTest->CreateTestTableRow($this->iTestingId, $sLink);
|
||||
$oTableRow = $oTest->CreateTestTableRow($this->iTestingId, $sLink, $bShowAll);
|
||||
// add the row to the table
|
||||
$oTable->AddRow($oTableRow);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user