Hello to all!
Here comes another dummy question:
Trying to create a table_list filter with two or more dropdowns so they FILTER TOGETHER.
For this I created a code to put in READ_DATA Conditons rules :
Unfortunetely second dropdown - ligStatussFilter does not filter anything.
What am I doing wrong?
Thank you in advance -
Elita
Here comes another dummy question:
Trying to create a table_list filter with two or more dropdowns so they FILTER TOGETHER.
For this I created a code to put in READ_DATA Conditons rules :
$projVaditajs = $this->data('projVaditajsFilter');
$ligStatuss = $this->data('ligStatussFilter');
if (!empty($projVaditajs)) {
echo "Submission.projVaditajs/like:%{data:projVaditajsFilter}%";
}
else if (!empty($ligStatuss)) {
echo "Submission.ligStatuss/like:%{data:ligStatussFilter}%";
}
?>
Unfortunetely second dropdown - ligStatussFilter does not filter anything.
What am I doing wrong?
Thank you in advance -
Elita