mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Merge pull request #227 from creative-commoners/pulls/3.3/the-deprecate-that-got-away
Removing use of deprecated method
This commit is contained in:
commit
eef914529e
@ -53,7 +53,7 @@ class SearchVariantVersioned extends SearchVariant
|
|||||||
|
|
||||||
public function alterQuery($query, $index)
|
public function alterQuery($query, $index)
|
||||||
{
|
{
|
||||||
$query->filter('_versionedstage', [
|
$query->addFilter('_versionedstage', [
|
||||||
$this->currentState(),
|
$this->currentState(),
|
||||||
SearchQuery::$missing
|
SearchQuery::$missing
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user