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
When viewing it in the ModelAdmin and sorting it by the "translatable" Title of the object, it always uses the English term to sort even though in the other language the word should be in a different position (due to it starting with T instead of A).
How to replicate:
add Fluent to a dataobject
show dataobject in ModelAdmin
translate Title into two languages for one of these DataObjects
sort ModelAdmin by Title in Language 1
switch Language using the Fluent Dropdown
sort dataObject again by Title
Now note that the translated version is in the wrong spot in the sorted list.
The text was updated successfully, but these errors were encountered:
We have fixed this already in fluent 4.1.x, but it wasn’t included in CWP 2.1.0. We need to iron out a couple of bugs, but would appreciate your feedback if you decide to pull the latest branch in to test it out! I’m going to close for now.
@sunnysideup sorry, I posted that from my phone so didn't have an issue to reference handy.
The duplicate issue is #208 and we fixed it with #415. These changes are in the 4.1 branch, but haven't been released yet. In order to pull them into CWP 2.1 you'd need to add an inline alias for fluent:
"require": {
"tractorcow/silverstripe-fluent": "4.1.x-dev as 4.1.3"
}
SS4.1 (CWP)
We have a DataObject that is translated.
When viewing it in the ModelAdmin and sorting it by the "translatable" Title of the object, it always uses the English term to sort even though in the other language the word should be in a different position (due to it starting with T instead of A).
How to replicate:
add Fluent to a dataobject
show dataobject in ModelAdmin
translate Title into two languages for one of these DataObjects
sort ModelAdmin by Title in Language 1
switch Language using the Fluent Dropdown
sort dataObject again by Title
Now note that the translated version is in the wrong spot in the sorted list.
The text was updated successfully, but these errors were encountered: