Removed redundant order statement
[MAILPOET-1256]
This commit is contained in:
committed by
Pavel Dohnal
parent
69ca597f24
commit
3337637a8b
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user