Skip to content
Snippets Groups Projects
Commit d61a2be0 authored by IMMACULATE X's avatar IMMACULATE X Committed by Thomas Seidl
Browse files

Issue #3449298 by immaculatexavier, drunken monkey: Fixed minor issue with sorting of search views.

parent a866fd9b
No related branches found
No related tags found
1 merge request!141Update 2 files
Pipeline #181911 passed
Search API 1.x, dev (xxxx-xx-xx):
---------------------------------
- #3449298 by immaculatexavier, drunken monkey: Fixed minor issue with sorting
of search views.
- #3447797 by NexusNovaz, drunken monkey: Fixed documentation of
ContentEntity::getPartialItemIds().
- #3437275 by dineshkumarbollu, drunken monkey, jonathan1055: Removed uses of
......
......@@ -103,7 +103,7 @@ class SearchApiQuery extends QueryPluginBase {
*
* @var array
*/
public $orderby = [];
public $orderby = NULL;
/**
* The conjunction with which multiple filter groups are combined.
......
......@@ -25,8 +25,6 @@ class SearchApiSort extends SortPluginBase {
// When there are exposed sorts, the "exposed form" plugin will set
// $query->orderby to an empty array. Therefore, if that property is set,
// we here remove all previous sorts.
// @todo Is this still true in D8?
// @todo Check whether #2145547 is still a problem here.
if (isset($this->query->orderby)) {
unset($this->query->orderby);
$sort = &$this->query->getSort();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment