core icon indicating copy to clipboard operation
core copied to clipboard

Unable to organize Categories in descending order

Open shaydotcms opened this issue 9 years ago • 2 comments

Categories are not being organized in descending order. This is happening for parent and child categories.

Notice on the images below that Sort Order does not change the order of the items: image

image

Expected Behavior

Top level and sublevel categories should be organized in ascending or descending order

Current Behavior

Categories are not being organized in descending order. This is happening for parent and child categories.

Steps to Reproduce (for bugs)

  1. Loging to dotcms
  2. Navigate to Types & Tags/Categories
  3. With existing Categories, click on Sort Order and try to organize in descending order
  4. You will see it's not working

Your Environment

  • dotCMS version used: Master branch
  • Database and version: Postgres 9.3.5
  • Operating System and version: Ubuntu 14.04.1
  • Browser Name and version: Firefox v45.0.1
  • Application Server and version: Tomcat 8
  • Java Brand and version: Java 8

shaydotcms avatar Jul 24 '17 15:07 shaydotcms

I was able to reproduce this issue in demo.dotcms.com

shaydotcms avatar Jul 24 '17 15:07 shaydotcms

This was broke by this commit: https://github.com/dotCMS/core/commit/cec760af830fd32d728d213e331a16018bfaffd4#diff-c913c32b993f74e63e0543442f02a1fe

Following commit after that one made the one above not needed

dsilvam avatar Jul 26 '17 15:07 dsilvam