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

Sort by number

Open karoliskralis opened this issue 3 years ago • 5 comments

Debug mode

Describe the bug

when i want to sort assets with my custom field with format Numeric, it doesnt sort from largest to smallest, it sort from 9-1 but if exist number 10,11,12, it sort in front of number 1,

Reproduction steps

1.Asset model 2. Sort by Custom field 3. ...

Expected behavior

Sorting the count number from largest to smallest

Screenshots

custom_field

Snipe-IT Version

6.09

Operating System

Ubuntu

Web Server

Apache

PHP Version

7.4.3

Operating System

Windows

Browser

Google Chrome

Version

103

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

karoliskralis avatar Aug 09 '22 05:08 karoliskralis

👋 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 Aug 09 '22 05:08 welcome[bot]

This is an open ask and we have internal tickets around it. Unfortunately, it's a little harder than it seems. :(

snipe avatar Aug 09 '22 17:08 snipe

ok, thanks for reply, i try to import with number 01,02,03,... but it doesnt apply it, but when i edit 1 by 1 but number 01,02, ... it sorts OK.

karoliskralis avatar Aug 12 '22 07:08 karoliskralis

I have the same problem - I had implemented a custom fieldset PC specification including a benchmark for CPUs (as we have AMD and Intel) for comparison :/ Hope you'll find a way to sort this out!

SufiSR avatar Sep 29 '22 07:09 SufiSR

Any update on this issue?

BarisKaragoz avatar Feb 29 '24 17:02 BarisKaragoz