RE: Categories are not displayed in alphabetical order in secondary languages

thumbnail
Rodrigo Mier, modified 1 Year ago. New Member Posts: 3 Join Date: 2/3/14 Recent Posts

The categories are not displayed in alphabetical order in the category filter when a secondary language is used.

Steps to reproduce:

  1. Use a site with English US as default language and Spanish as an available language.

  2. Login with an English user

  3. Create a vocabulary

  4. Create the following categories in english:

    • AA us

    • MM us

    • ZZ us

  5. Create transtations for each category:

    • Translate AA us to Spanish as MM es

    • Translate MM us to Spanish as ZZ es

    • Translate ZZ us to Spanish as AA es

  6. Go to the home page and add a category filter widget. You will see the following order:

    • AA us

    • MM us

    • ZZ us

  7. Change the user’s language to Spanish

Expected behaviour:
The following categories order should be displayed:

  • AA es

  • MM es

  • ZZ es

Actual behaviour:

The following categories order is displayed:

  • MM es

  • ZZ es

  • AA es

Reproduced in master:
commit 00334ca6f9fb4d92f5e98c225b104f095ee8b21e

thumbnail
Jamie Sammons, modified 1 Year ago. Expert Posts: 367 Join Date: 9/5/14 Recent Posts
Moved to Bug Report Sub category
thumbnail
Jamie Sammons, modified 1 Year ago. Expert Posts: 367 Join Date: 9/5/14 Recent Posts

Bug Report Created: https://liferay.atlassian.net/browse/LPS-200442

thumbnail
Jamie Sammons, modified 1 Year ago. Expert Posts: 367 Join Date: 9/5/14 Recent Posts

Hi Rodrigo,

Please see: https://liferay.atlassian.net/browse/LPS-200442.  This has been fixed and is included in GA/U104.