Fix displaying searched value
This commit is contained in:
parent
dc45301f91
commit
b64346566e
|
@ -216,7 +216,7 @@ ORDER BY ORDINAL_POSITION");
|
||||||
}
|
}
|
||||||
$i = 0;
|
$i = 0;
|
||||||
foreach ($where as $val) {
|
foreach ($where as $val) {
|
||||||
if ($columns[$val["col"]] && "$val[col]$val[val]" != "") {
|
if (($val["col"] == "" || $columns[$val["col"]]) && "$val[col]$val[val]" != "") {
|
||||||
echo "<div><select name='where[$i][col]'><option value=''>(" . lang('anywhere') . ")" . optionlist($columns, $val["col"], true) . "</select>";
|
echo "<div><select name='where[$i][col]'><option value=''>(" . lang('anywhere') . ")" . optionlist($columns, $val["col"], true) . "</select>";
|
||||||
echo html_select("where[$i][op]", array(-1 => "") + $this->operators, $val["op"]);
|
echo html_select("where[$i][op]", array(-1 => "") + $this->operators, $val["op"]);
|
||||||
echo "<input name='where[$i][val]' value='" . h($val["val"]) . "'></div>\n";
|
echo "<input name='where[$i][val]' value='" . h($val["val"]) . "'></div>\n";
|
||||||
|
|
Loading…
Reference in a new issue