Make SearchQuery_Range injectable.

The docs in docs/en/04_querying.md#searching-value-ranges indicate that this class should be injectable.
This commit is contained in:
GuySartorelli 2021-09-13 13:09:44 +12:00 committed by GitHub
parent 3e0a12e3f2
commit bd3ef84cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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;