summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Filter/BaseComparisonFilter.php1
-rw-r--r--app/Filter/TaskScoreFilter.php1
-rw-r--r--doc/en_US/search.markdown7
3 files changed, 7 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;
}
}
diff --git a/doc/en_US/search.markdown b/doc/en_US/search.markdown
index befb0e5c..818a19ce 100644
--- a/doc/en_US/search.markdown
+++ b/doc/en_US/search.markdown
@@ -166,6 +166,13 @@ Attribute: **tag**
- Example: `tag:"My tag"`
+### Search by score/complexity
+
+Attribute: **score** or **complexity**
+
+- `score:>=21`
+- `complexity:8`
+
Activity stream search
----------------------