You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case when you need sorting in DataGrid by nullable field I've detected that Sorter uses INNER JOIN on building Select Query.
If values are nullable this moment reduces amount of records.
Sorting mustn't reduce records amount
How To Reproduce
Make any simple table with nullable field. For example it can be updatedBy. This field will be changed only after update.
Insert some records with different values in this field.
Prepare grid and add sorting by updatedBy field
Additional Info
Q
A
Framework Version
2.7.8
PHP version
7.4.16
The text was updated successfully, but these errors were encountered:
Description
In case when you need sorting in DataGrid by nullable field I've detected that Sorter uses INNER JOIN on building Select Query.
If values are nullable this moment reduces amount of records.
Sorting mustn't reduce records amount
How To Reproduce
Make any simple table with nullable field. For example it can be
updatedBy
. This field will be changed only after update.Insert some records with different values in this field.
Prepare grid and add sorting by
updatedBy
fieldAdditional Info
The text was updated successfully, but these errors were encountered: