Lists not in order

Dilbert

Member
My lists are listed in the order I created them when I go to Dashboard --> Lists. They used to be in that same order when I selected them from the drop down when I create a new campaign they are not in that order. I tried adding a number to the front of the list, but it is sorting the number as text, so I added a letter. I have more than 26 lists. :)

This happened with the last release.

Is there a way to sort the lists?

Thanks
 
@Dilbert - in apps folder create a file init-custom.php add this code:
PHP:
<?php
Yii::app()->hooks->addFilter('campaign_model_get_lists_dropdown_array_criteria', function($criteria){
    $criteria->order = 'date_added DESC';
    return $criteria;
});
Save the file and reload your page.
 
@Dilbert - in apps folder create a file init-custom.php add this code:
PHP:
<?php
Yii::app()->hooks->addFilter('campaign_model_get_lists_dropdown_array_criteria', function($criteria){
    $criteria->order = 'date_added DESC';
    return $criteria;
});
Save the file and reload your page.
Please put this into the next version. Thx.
And ideally everywhere else put a sort too ;)
 
Back
Top