Sending Progress
- improved progress bar styles (with completed status) - add pause/resume buttons - fixed method case in settings.mta for MailPoet & SMTP Providers - fixed parsley dependency - added validation on from name & address on step 3
This commit is contained in:
committed by
MrCasual
parent
9b011c0281
commit
4a2bbe3f88
@@ -43,6 +43,12 @@ class Newsletter extends Model {
|
||||
)->select_expr(MP_NEWSLETTER_OPTION_TABLE.'.value');
|
||||
}
|
||||
|
||||
function getQueue() {
|
||||
return SendingQueue::where('newsletter_id', $this->id)
|
||||
->orderByDesc('updated_at')
|
||||
->findOne();
|
||||
}
|
||||
|
||||
static function search($orm, $search = '') {
|
||||
return $orm->where_like('subject', '%' . $search . '%');
|
||||
}
|
||||
|
Reference in New Issue
Block a user