I store numerical fields such as "size", "width", "height" in my database. Now I added units to them, such as โKiBโ or โpixelsโ, when I showed them in the change list. This can be easily achieved by adding entries to the list_display list, such as "size_formatted", etc. However, they are no longer sorted.
Is there any way to limit this restriction?
source
share