Issue #2927520 by marcoscano: Fix wrong documentation in comment module
parent
27253f7214
commit
42634ef62d
|
@ -16,8 +16,8 @@ class Thread extends SortPluginBase {
|
|||
public function query() {
|
||||
$this->ensureMyTable();
|
||||
|
||||
// Read comment_render() in comment.module for an explanation of the
|
||||
// thinking behind this sort.
|
||||
// See \Drupal\comment\CommentStorage::loadThread() for an explanation of
|
||||
// the thinking behind this sort.
|
||||
if ($this->options['order'] == 'DESC') {
|
||||
$this->query->addOrderBy($this->tableAlias, $this->realField, $this->options['order']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue