parent
022b106d2d
commit
9c5f5a5854
|
|
@ -11,7 +11,7 @@ use Kanboard\Model\TaskModel;
|
||||||
* @package Kanboard\Filter
|
* @package Kanboard\Filter
|
||||||
* @author Frederic Guillot
|
* @author Frederic Guillot
|
||||||
*/
|
*/
|
||||||
class TaskPriorityFilter extends BaseFilter implements FilterInterface
|
class TaskPriorityFilter extends BaseComparisonFilter implements FilterInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Get search attribute
|
* Get search attribute
|
||||||
|
|
@ -32,7 +32,7 @@ class TaskPriorityFilter extends BaseFilter implements FilterInterface
|
||||||
*/
|
*/
|
||||||
public function apply()
|
public function apply()
|
||||||
{
|
{
|
||||||
$this->query->eq(TaskModel::TABLE.'.priority', $this->value);
|
$this->applyComparisonFilter(TaskModel::TABLE.'.priority');
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue