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:
Robbie Averill 2018-08-27 10:13:37 +12:00 committed by GitHub
commit eef914529e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class SearchVariantVersioned extends SearchVariant
public function alterQuery($query, $index)
{
$query->filter('_versionedstage', [
$query->addFilter('_versionedstage', [
$this->currentState(),
SearchQuery::$missing
]);