From d403f387fa79d5b212ff40c1f2201d7c2fc11fd7 Mon Sep 17 00:00:00 2001 From: Jesse Leite Date: Wed, 10 Feb 2021 15:21:33 -0500 Subject: [PATCH] Add `sort` and `query_scope` parameter handling to `search:results` tag. Closes #2383. --- src/Search/Tags.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Search/Tags.php b/src/Search/Tags.php index 4c71793835..962bc6d39e 100644 --- a/src/Search/Tags.php +++ b/src/Search/Tags.php @@ -10,7 +10,9 @@ class Tags extends BaseTags { use Concerns\OutputsItems, - Concerns\QueriesConditions; + Concerns\QueriesConditions, + Concerns\QueriesScopes, + Concerns\QueriesOrderBys; use Concerns\GetsQueryResults { results as getQueryResults; } @@ -33,6 +35,8 @@ public function results() $this->querySite($builder); $this->queryStatus($builder); $this->queryConditions($builder); + $this->queryScopes($builder); + $this->queryOrderBys($builder); $results = $this->getQueryResults($builder); $results = $this->addResultTypes($results);