Robust
Well-known member
So I want to have two criterias:
If I view the visibleCriteria tab (obviously you can't state what criteria param to use) they both sync, but the second one is a bit buggy (e.g. you can click usergroups when the checkbox isn't ticked).
Is there no way to have two criterias on one "task"?
- Criteria to ACHIEVE something
- Criteria to be ABLE to achieve something
Code:
$viewParams = array(
'task' => $task,
'userCriteria' => XenForo_Helper_Criteria::prepareCriteriaForSelection($task['user_criteria']),
'userCriteriaData' => XenForo_Helper_Criteria::getDataForUserCriteriaSelection(),
'visibleCriteria' => XenForo_Helper_Criteria::prepareCriteriaForSelection($task['visible_criteria']),
'visibleCriteriaData' => XenForo_Helper_Criteria::getDataForUserCriteriaSelection()
);
If I view the visibleCriteria tab (obviously you can't state what criteria param to use) they both sync, but the second one is a bit buggy (e.g. you can click usergroups when the checkbox isn't ticked).
Is there no way to have two criterias on one "task"?