Listing fixes

- fixed bulk actions
- fixed paging behavior
- fixed filtering issues
This commit is contained in:
Jonathan Labreuille
2015-10-21 12:56:24 +02:00
parent da322cae4b
commit d4bfb49415
24 changed files with 200 additions and 97 deletions

View File

@@ -22,7 +22,7 @@ class Segments {
function listing($data = array()) {
$listing = new Listing\Handler(
\Model::factory('\MailPoet\Models\Segment'),
'\MailPoet\Models\Segment',
$data
);
wp_send_json($listing->get());