SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Translation editor, Strings, Sort by ID

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
mik



Joined: 30 Jan 2003
Posts: 5

PostPosted: Tue Aug 21, 2007 7:57 pm    Post subject: Translation editor, Strings, Sort by ID Reply with quote

In all my forms I can't reliably sort by String ID in Translations->String, although sorting by values in language columns works fine. All my string IDs look like: "prefix_id", for example IDS_1, IDS_201, PROP_a, PROP_b, etc.
It looks like it sorts only by prefix, ignoring everything that follows the first underscore. Can you please check if this is the case? I'm sorry to report it late, I noticed this quite long time ago (a year ?) after some version update - I forgot to report it back then.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Wed Aug 22, 2007 4:25 am    Post subject: Reply with quote

Hello,

No, it sorts by whole ID including ther part after the underscore. Can you show us the sample of incorrect sorting on your side?
Back to top
View user's profile Send private message
mik



Joined: 30 Jan 2003
Posts: 5

PostPosted: Wed Aug 22, 2007 3:45 pm    Post subject: IDS_ Reply with quote

I checked the sorting patterns, and it looks to me that it is trying to sort names like IDS_nnnn based on the assumption that "nnnn" is always a number, failing to sort appropriately when the part after IDS_ is a text. Could this be the reason? I can send a sample form if needed.

Thanks.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Wed Aug 22, 2007 3:58 pm    Post subject: Reply with quote

Yes, this could be the reason for sorting problems. We will try to improve this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group