1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 18:24:57 +02:00

Fix issue where some non-text based FieldtypeTable subfields had selection issues in InputfieldSelector

This commit is contained in:
Ryan Cramer
2017-03-12 11:16:26 -04:00
parent 11c49f2bb1
commit 11ebcfb456

View File

@@ -1788,7 +1788,8 @@ class InputfieldSelector extends Inputfield implements ConfigurableModule {
$operator = $selector->operator;
// convert to not operator when finding a not selector
if($selector->not && isset($this->operators["!$selector->operator"])) $operator = "!$selector->operator";
$opval = $this->renderOpval(($field2 ? $field2 : $field1), '', $operator, $value, $orChecked);
//$opval = $this->renderOpval(($field2 ? $field2 : $field1), '', $operator, $value, $orChecked);
$opval = $this->renderOpval($field, '', $operator, $value, $orChecked);
$rows .= $this->renderRow($select, $select2, $opval, $rowClass);
}
}