From bd3ef84cb389e5c80f19b13b4ac07f7b6432989a Mon Sep 17 00:00:00 2001 From: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Mon, 13 Sep 2021 13:09:44 +1200 Subject: [PATCH] Make SearchQuery_Range injectable. The docs in docs/en/04_querying.md#searching-value-ranges indicate that this class should be injectable. --- src/Search/Queries/SearchQuery_Range.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Search/Queries/SearchQuery_Range.php b/src/Search/Queries/SearchQuery_Range.php index 89d7804..1458afe 100644 --- a/src/Search/Queries/SearchQuery_Range.php +++ b/src/Search/Queries/SearchQuery_Range.php @@ -2,6 +2,7 @@ namespace SilverStripe\FullTextSearch\Search\Queries; +use SilverStripe\Core\Injector\Injectable; use SilverStripe\Dev\Deprecation; /** @@ -10,6 +11,8 @@ use SilverStripe\Dev\Deprecation; */ class SearchQuery_Range { + use Injectable; + public $start = null; public $end = null;