ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Something amiss with category sort in 2.5.2

August 08, 2012 12:11am

Subscribe [2]
  • #1 / Aug 08, 2012 12:11am

    ruraldreams

    279 posts

    I’m working on a site recently upgraded from EE1.  I have a large category group that is showing sort orders that were almost alphabetical, but not quite (a few cats were misplaced).  The sort order in the category management area was correctly alphabetical.  I tried re-saving the category sort as alphabetical. It is still correct in the category management area, but in the publish screen it’s worse than before.  I’m not sure what order it’s displaying in.

  • #2 / Aug 08, 2012 2:18pm

    Kevin Smith

    4784 posts

    Hi ruraldreams,

    Could you post here a screenshot of the category views: one of the management screen and the other of the publish screen? If I can see some examples and see how they’re out of order, I can attempt to replicate it on my end.

    Thanks!

  • #3 / Aug 10, 2012 3:39pm

    Solspace

    106 posts

    Kevin,

    There’s a problem in EE 2.5.2 build 20120606 in /controllers/cp/admin_content.php::_reorder_cats_alphabetically()

    When we indicate that we want the categories sorted alphabetically and submit the form to save that preference, the exp_categories.cat_order column in the DB is not updated with each category’s appropriate order value. All values are 1. This translates into a problem on the front end with exp:channel:categories where the blocks of categories are not properly ordering on the page.

    mk

  • #4 / Aug 10, 2012 5:33pm

    Kevin Smith

    4784 posts

    Ah, I see. Thanks for the detailed update, mk! I’ve filed a bug here with that information so our engineers can see it.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases