Skip to content

Commit

Permalink
Sort reported comments in date order (#34)
Browse files Browse the repository at this point in the history
Fix #33
  • Loading branch information
AnnAngela authored and nbdd0121 committed Sep 5, 2019
1 parent 9aa2e11 commit 8efc90e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public function fetch() {
case static::FILTER_REPORTED:
$cond['flowthread_status'] = Post::STATUS_NORMAL;
$cond[] = 'flowthread_report > 0';
$options['ORDER BY'] = 'flowthread_report DESC, ' . $options['ORDER BY'];
break;
case self::FILTER_DELETED:
$cond['flowthread_status'] = Post::STATUS_DELETED;
Expand Down

0 comments on commit 8efc90e

Please sign in to comment.