Sorting for all listings & bugfixes for all listings except Newsletters
- newsletters listing now uses hash history - newsletters are sorted by Subject (a->z) - segments are sorted by Name (a->z) - re-added WordPress Users list as a segment you can send a newsletter to - added explicit error messages when an auto newsletter isn't fully configured - added missing strings for "selectAll" in Segments listing - fixed filters() in Subscribers listing (wrong count as it was not taking groups/filters/search into account)
This commit is contained in:
@ -206,7 +206,9 @@ class Subscriber extends Model {
|
||||
);
|
||||
}
|
||||
|
||||
static function filters($orm, $group = 'all') {
|
||||
static function filters($data = array()) {
|
||||
$group = (!empty($data['group'])) ? $data['group'] : 'all';
|
||||
|
||||
$segments = Segment::orderByAsc('name')->findMany();
|
||||
$segment_list = array();
|
||||
$segment_list[] = array(
|
||||
|
Reference in New Issue
Block a user