db_filter_ui: Use first filter option as default
This commit is contained in:
committed by
Chris Morgan
parent
63ef4f4e95
commit
14bba93d37
@@ -224,17 +224,13 @@ class FilterInterface
|
||||
{
|
||||
$shEditor .= "<select name='i{$sColumn}Op$sId'>";
|
||||
|
||||
if($iId == -1)
|
||||
{
|
||||
$sText = 'criterion';
|
||||
$sSel = " selected='selected'";
|
||||
} else
|
||||
if($iId != -1)
|
||||
{
|
||||
$sSel = '';
|
||||
$sText = 'remove';
|
||||
}
|
||||
|
||||
$shEditor .= "<option value='0'$sSel>-- $sText --</option>";
|
||||
$shEditor .= "<option value='0'$sSel>-- $sText --</option>";
|
||||
}
|
||||
|
||||
foreach($aTypes as $iType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user