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 */
|
/* 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);
|
$oVersion = new Version($this->iVersionId);
|
||||||
$oApp = new Application($oVersion->iAppId);
|
$oApp = new Application($oVersion->iAppId);
|
||||||
@@ -596,6 +596,9 @@ class testData{
|
|||||||
|
|
||||||
$sUrl = $sLink.$this->iTestingId;
|
$sUrl = $sLink.$this->iTestingId;
|
||||||
|
|
||||||
|
if($bShowAll)
|
||||||
|
$sUrl .= '&bShowAll=true';
|
||||||
|
|
||||||
$oTableRowClick = new TableRowClick($sUrl);
|
$oTableRowClick = new TableRowClick($sUrl);
|
||||||
$oTableRowClick->SetHighlight($oTableRowHighlight);
|
$oTableRowClick->SetHighlight($oTableRowHighlight);
|
||||||
|
|
||||||
@@ -678,7 +681,7 @@ class testData{
|
|||||||
while($oRow = query_fetch_object($hResult))
|
while($oRow = query_fetch_object($hResult))
|
||||||
{
|
{
|
||||||
$oTest = new testData($oRow->testingId);
|
$oTest = new testData($oRow->testingId);
|
||||||
$oTableRow = $oTest->CreateTestTableRow($this->iTestingId, $sLink);
|
$oTableRow = $oTest->CreateTestTableRow($this->iTestingId, $sLink, $bShowAll);
|
||||||
// add the row to the table
|
// add the row to the table
|
||||||
$oTable->AddRow($oTableRow);
|
$oTable->AddRow($oTableRow);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user