Open helrond opened 5 months ago
From initial research it appears that this is happening because the number in the machine_file_size
field exceeds the Javascript MAX_SAFE_INTEGER
. Datatables suggests using orthogonal data however this approach is throwing an error in the filter_queryset
method of the DatatableMixin
. This could likely be solved by updating the library which supports the server-side rendering for Datatables (see, for example, the django_datatable_serverside_mixin
.
Describe the bug
Transfer sizes are not sorted correctly in the transfers table. They are sorted by number regardless of unit (KB, MB or GB)
To reproduce
Steps to reproduce the behavior:
Expected behavior
Transfers should be sorted correctly by size regardless of units used.
Impact on your work
Not a huge deal but would be good to get sorted out.