Update documentation for score/complexity search
This commit is contained in:
@@ -43,7 +43,6 @@ abstract class BaseComparisonFilter extends BaseFilter
|
|||||||
protected function applyComparisonFilter($field)
|
protected function applyComparisonFilter($field)
|
||||||
{
|
{
|
||||||
$method = $this->parseOperator();
|
$method = $this->parseOperator();
|
||||||
|
|
||||||
$this->query->$method($field, $this->value);
|
$this->query->$method($field, $this->value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ class TaskScoreFilter extends BaseComparisonFilter implements FilterInterface
|
|||||||
public function apply()
|
public function apply()
|
||||||
{
|
{
|
||||||
$this->applyComparisonFilter(TaskModel::TABLE.'.score');
|
$this->applyComparisonFilter(TaskModel::TABLE.'.score');
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -166,6 +166,13 @@ Attribute: **tag**
|
|||||||
|
|
||||||
- Example: `tag:"My tag"`
|
- Example: `tag:"My tag"`
|
||||||
|
|
||||||
|
### Search by score/complexity
|
||||||
|
|
||||||
|
Attribute: **score** or **complexity**
|
||||||
|
|
||||||
|
- `score:>=21`
|
||||||
|
- `complexity:8`
|
||||||
|
|
||||||
Activity stream search
|
Activity stream search
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user