Sorts sending queue according to their creation date (oldest to newest)
This commit is contained in:
@ -178,6 +178,7 @@ class SendingQueue {
|
|||||||
|
|
||||||
static function getRunningQueues() {
|
static function getRunningQueues() {
|
||||||
return SendingQueueModel::orderByAsc('priority')
|
return SendingQueueModel::orderByAsc('priority')
|
||||||
|
->orderByAsc('created_at')
|
||||||
->whereNull('deleted_at')
|
->whereNull('deleted_at')
|
||||||
->whereNull('status')
|
->whereNull('status')
|
||||||
->whereNull('type')
|
->whereNull('type')
|
||||||
|
Reference in New Issue
Block a user