-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Short description of the issue
MySQL error when ordering users by role in users admin page table
Expected behavior
Rows order by role (thinking of it, there are many roles, so it's not that easy. Still, we shouldn't get an error)
Actual behavior
I get this error:
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column '{removed}._sort_page_roles_name.name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Steps to reproduce the issue
- Go to Access > Users
- Click the title of the "Roles" column
- The page will be messed up, even if you leave and return again. Logout and login to get it back.
Setup/Environment
ProcessWire 3.0.35
PHP: 7.0.11
Apache: 2.4.18 (Unix) OpenSSL/1.0.2g
MySQL: 5.7.15-0ubuntu0.16.04.1-log
Metadata
Metadata
Assignees
Labels
No labels