snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Sorting error: Files - created at

Open heikoboehme opened this issue 3 years ago • 2 comments

Debug mode

Describe the bug

Incorrect sorting for files. When I sort files of assets by "created at", the sorting is wrong. User language: English Date format: DD.MM.YYYY Version 6.1.1.

It is not sorted like a date, but like a string. Please see Screenshot

Thanks and best regards Heiko

Reproduction steps

1. 2. 3. ...

Expected behavior

the sorting should not be like string but date ( even if the format is DD.MM.YYYY)

Screenshots

image

Snipe-IT Version

v6.1.1 build 10847 (g2ac4449ea)

Operating System

Centos 7.0.2009

Web Server

apache 2.4.6-99

PHP Version

7.4.33

Operating System

Win10

Browser

Chrome

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

heikoboehme avatar Jul 03 '23 08:07 heikoboehme

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

welcome[bot] avatar Jul 03 '23 08:07 welcome[bot]

This should be resolved now. We were not populating action_date every time, but we changed that so that we now are populating it with the same value as created_at if no action_date override was provided.

snipe avatar Apr 09 '25 02:04 snipe