Issue #2927520 by marcoscano: Fix wrong documentation in comment module

8.5.x
xjm 2017-12-01 02:00:18 -06:00
parent 27253f7214
commit 42634ef62d
1 changed files with 2 additions and 2 deletions

View File

@ -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']);
}