0

I was wondering if there was a quick way to sort entries in the control panel automatically by their titles without modifying core files. Did I miss anything in the documentation and settings?

1 Answer 1

1

Not by any EE settings, however you could do this by injecting some javascript to click the Title column on page load. Install the CP CSS & JS add-on and add the snippet below:

// Check to see if element exists first, then click
if ($('th[data-table_column="title"]').length > 0) { 
    $('th[data-table_column="title"]').click();
}
2
  • I was hoping ee had a default way of doing this. Maybe I should submit a feature request. Thanks for the suggestion though. Commented Apr 30, 2014 at 15:39
  • In using this, it is better if it is called in document.ready. Commented Apr 30, 2014 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.