/** * this builds an array containing the filters value and condition * @param string initial $value * @param string intial $condition * @param string eval - how the value should be handled * @return array (value condition) */ function getFilterValue($value, $condition, $eval) { $value = $this->prepareFilterVal($value); $return = parent::getFilterValue($value, $condition, $eval); return $return; }
/** * Builds an array containing the filters value and condition * * @param string $value initial value * @param string $condition intial $condition * @param string $eval how the value should be handled * * @since 3.0.6 * * @return array (value condition) */ public function getFilterValue($value, $condition, $eval) { $fType = $this->getElement()->filter_type; if ($fType == 'auto-complete') { // Searching on value so set to equals $condition = '='; } return parent::getFilterValue($value, $condition, $eval); }