Loading...
 
Skip to main content

Articles: Illogical sorting by size

Status
Open
Subject
Articles: Illogical sorting by size
Version
18.x
Category
  • Bug
  • Easy for Newbie Dev
  • Less than 30-minutes fix
Feature
Article
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Related-to
Description

When you sort a listing of articles, you can have the results sorted on the size of the articles. But the result is illogical, which is more visible when sorting descending, but in principle ascending is affected as well: The sorting is done NOT numerical (which you would expect on a numerical value like size), but by string representation.

The result is e.g. that "456 bytes" is being considered larger than "1.2 kBytes"...

Importance
5
Easy to solve?
10 easy
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7958
Created
Tuesday 30 November, 2021 14:30:00 UTC
by hman
LastModif
Tuesday 30 November, 2021 14:33:07 UTC


Show PHP error messages