- Issue created by @stefan.korn
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 2:10pm 24 July 2023 - 🇩🇪Germany stefan.korn Jossgrund
Improved patch to handle unsigned integer fields
It would be nice if one can use this module with base fields too (integer only of course). At this moment only config fields are supported.
There maybe also an issue with the table drag sorting if the integer field is unsigned (allows no negative number). Table drag may provide negative numbers for sorting and negative value would produce sql error in this case.
Try to use a base field of an entity for sorting with this module.
- Allow base fields for sorting too
- Do not allow read only base fields (this removes entity id fields for example)
- check whether the field is unsigned and provide a workaround to only use positive numbers for the sorting value while keeping the sort order arranged by table drag
provide patch
allows configuring integer base fields as weight keys as well
na
na
Needs review
1.0
Code
Improved patch to handle unsigned integer fields