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
I have an issue with sorting on i18n.fa field.
here is my collection format name:"a" "i18n" : { "fa" : { "name" : "fs" } }, name:"c" "i18n" : { "fa" : { "name" : "fa" } }, name:"b" "i18n" : { "fa" : { "name" : "fc" } }
now in my code i used this publication code TAPi18n.publish("name", function () { return Names.i18nFind({}),{sort:{name:1}}); });
and in client side i use this subscriptions TAPi18n.subscribe('name', function() { return Names.i18nFind({}); });
now when i run application it gives alphabetical order "a,b,c" in english language. But when i switch language to "fa" it does not gives order "like fa,fa,fs" instead it gives "fs,fc,fa". Does anyone have solution for this why its not working?
Thanks
The text was updated successfully, but these errors were encountered:
Hello all,
I have an issue with sorting on i18n.fa field.
here is my collection format
name:"a" "i18n" : { "fa" : { "name" : "fs" } }, name:"c" "i18n" : { "fa" : { "name" : "fa" } }, name:"b" "i18n" : { "fa" : { "name" : "fc" } }
now in my code i used this publication code
TAPi18n.publish("name", function () { return Names.i18nFind({}),{sort:{name:1}}); });
and in client side i use this subscriptions
TAPi18n.subscribe('name', function() { return Names.i18nFind({}); });
now when i run application it gives alphabetical order "a,b,c" in english language. But when i switch language to "fa" it does not gives order "like fa,fa,fs" instead it gives "fs,fc,fa". Does anyone have solution for this why its not working?
Thanks
The text was updated successfully, but these errors were encountered: