Wrong way of sorting dashboard entries
-
See also TYPO
In same lines, 343 and 393 of when-last-login.php :
ORDERBY should be meta_value_num instead of meta_value
ORDER should be DESC instead of ASCThe login counts are naw sorted as strings, meaning e.g. order 1, 40, 5 instead of 1,5,40. Should be NUMERIC: 40 > 5 !!
DESC because the first 3 entries are being returned. These should be the HIGHEST NUMERIC values.
Please correct in next release
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Wrong way of sorting dashboard entries’ is closed to new replies.