summaryrefslogtreecommitdiff
path: root/app/Filter
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-10-16 10:59:13 -0700
committerFrederic Guillot <fred@kanboard.net>2017-10-16 10:59:13 -0700
commit8a221cc43abd45b40a2914a71953628559a760c5 (patch)
tree82ceaa7128892ec104f89a05686c9b554d10c337 /app/Filter
parenta53ead7e74924579db243bc43125ac52aeb86b91 (diff)
Update documentation for score/complexity search
Diffstat (limited to 'app/Filter')
-rw-r--r--app/Filter/BaseComparisonFilter.php1
-rw-r--r--app/Filter/TaskScoreFilter.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/app/Filter/BaseComparisonFilter.php b/app/Filter/BaseComparisonFilter.php
index f890342e..ba0c9c5e 100644
--- a/app/Filter/BaseComparisonFilter.php
+++ b/app/Filter/BaseComparisonFilter.php
@@ -43,7 +43,6 @@ abstract class BaseComparisonFilter extends BaseFilter
protected function applyComparisonFilter($field)
{
$method = $this->parseOperator();
-
$this->query->$method($field, $this->value);
}
}
diff --git a/app/Filter/TaskScoreFilter.php b/app/Filter/TaskScoreFilter.php
index ca2013bc..2c4067f1 100644
--- a/app/Filter/TaskScoreFilter.php
+++ b/app/Filter/TaskScoreFilter.php
@@ -32,7 +32,6 @@ class TaskScoreFilter extends BaseComparisonFilter implements FilterInterface
public function apply()
{
$this->applyComparisonFilter(TaskModel::TABLE.'.score');
-
return $this;
}
}