Removed redundant order statement

[MAILPOET-1256]
This commit is contained in:
pavel-mailpoet
2018-01-09 10:00:04 +00:00
committed by Pavel Dohnal
parent 69ca597f24
commit 3337637a8b

View File

@@ -269,7 +269,6 @@ class Segment extends Model {
static function getAnalytics() { static function getAnalytics() {
return Segment::select_expr('type, count(*) as count') return Segment::select_expr('type, count(*) as count')
->whereNull('deleted_at') ->whereNull('deleted_at')
->orderByAsc('name')
->groupBy('type') ->groupBy('type')
->findArray(); ->findArray();
} }