Skip to Content Skip to Menu

Sorting issue

  • sirweb
  • sirweb
  • OFFLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
1 year 8 months ago - 1 year 8 months ago #333204 by sirweb
Sorting issue was created by sirweb
I have an issue with Swedish characters ÅÄÖ not sorting properly.
In User lists, it sorts like this at  the moment:
AÅÄBCD... MNOÖPQ...
but it should be:
ABCD....MNOPQ....XYÅÄÖ

The database collation is utf8mb4_general_ci
I have checked all CB tables with CB Tools
Latest nightly build of CB
Joomla 3.10.11 

I´m out of ideas what to look for.
Any suggestions?
Last edit: 1 year 8 months ago by sirweb. Reason: typo

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
1 year 8 months ago #333205 by krileon
Replied by krileon on topic Sorting issue
Sorting is entirely handled by SQL. We don't apply any PHP side sorting. So whatever behavior you experience is how SQL decides to sort something. You can adjust the ORDER BY clause of the query directly by using Advanced Sorting if you need to customize the query.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: sirweb

Please Log in or Create an account to join the conversation.

  • sirweb
  • sirweb
  • OFFLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
1 year 8 months ago #333207 by sirweb
Replied by sirweb on topic Sorting issue
Ok, thanks.

I have tested to create an article list in Joomla Articles, and it also sorts wrong.
No idea why, this site has eworked correctly for years.

Obviously not CB related then.

Thanks.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum