Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting : accented words put at the end #4030

Open
gaumondp opened this issue Jul 2, 2013 · 5 comments
Open

Sorting : accented words put at the end #4030

gaumondp opened this issue Jul 2, 2013 · 5 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@gaumondp
Copy link

gaumondp commented Jul 2, 2013

When going in Referers->Search Engines and Keyword, sorting by keywords put accentuated words at the end. Same for "Page names" in Action->Page Titles.

Example for Keywords:
*avion
*espion
*zoo
*cole (should be before "espion" instead)

The URL to generate such list and see accentuated words first is:

index.php?module=CoreHome&action=index&idSite=5&period=range&date=last7#module=Referers&action=getSearchEnginesAndKeywords&idSite=5&period=range&date=last7

Included screenshot & HTML

Dali

@gaumondp
Copy link
Author

gaumondp commented Jul 2, 2013

Attachment: Screenshot of Keywords sorting
SortingAccents.png

@gaumondp
Copy link
Author

gaumondp commented Jul 2, 2013

Attachment: HTML output of Keywords table containing accentuated "e"
SortingAccents.html

@mattab
Copy link
Member

mattab commented Jul 14, 2013

Thanks for the report, it looks like we could use the function http://nz1.php.net/strcoll

@halfdan
Copy link
Member

halfdan commented Sep 9, 2013

Actually this should come sorted from the database.

@daliDev: What is the character set / collation of your database?

@gaumondp
Copy link
Author

gaumondp commented Sep 9, 2013

UTF-8 wall to wall:

mysql> SHOW VARIABLES LIKE 'char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+

@gaumondp gaumondp added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants