Summary | Turba letter sub page only has sub pages for ascii names |
Queue | Turba |
Queue Version | 2.3 |
Type | Enhancement |
State | Accepted |
Priority | 1. Low |
Owners | |
Requester | janne.peltonen (at) helsinki (dot) fi |
Created | 10/08/2008 (6062 days ago) |
Due | |
Updated | 04/10/2011 (5148 days ago) |
Assigned | 10/08/2008 (6062 days ago) |
Resolved | |
Milestone | |
Patch | No |
sense to raise the priority.
medium or even High as Horde seems to be used quite a lot in
non-English speaking countries.
displayed, the links represented by ?, ?, ? etc are not working,
returning "A"-s page instead.
I looked at database records and found that the info is stored not as
UTF8 but Latin1 (???) - may be that is one of possible reasons. What
surprises me is that search is working OK.
almost all ASCII characters.
New Attachment: listview.php.patch
New Attachment: alphaPager.inc.patch
conatin "destructive" code, which cannot use for any locales, exclude
ru_RU. Subpages links generation goes in
turba/templates/list/alphaPager.inc and checking on "current" page
goes in turba/lib/ListView.php. Patches with current "destructive"
code attached, may be will usable :-)
To make it universal, I think, we need to know locale and where in
current locale located letter, which will first subpage link? Locale
we can take from login screen. So, this is only problem to know which
in current locale is "start" letter, and which is their code
ref. ticket 6790
with more than 500 contacts. If they were to see all their contacts on
one page, wouldn't that take quite a while to load?
--Janne
ref. ticket 6790
State ⇒ Accepted
Type ⇒ Enhancement
State ⇒ Feedback
determine the actual initial characters from the actual contacts of
the user, sort them according to the selected language's (locale's)
collation rules and only show those initial characters in the list. I
think that Cyrillic locales, for example, also contain collation
rules for latin characters.
LDAP server.
though it's already harder than it looks like, to map it to A. But
how about characters not from latin1 charsets, like cyrillic,
chinese, japanese, etc.?
set of initial characters that should be shown? (I'm not completely
familiar with how locales work in this respect.) A Finn would expect
to see in the end of the initial letter list the local letters "Å Ä Ö"
when using his/her own language, and so would a Swede... a Russian
would like to see the list of cyrillic characters (maybe in addition
to the latin letters, for Western contacts). I don't know what a
Japanese or a Chinese would like to see...
A completely different way to attack the problem would be to determine
the actual initial characters from the actual contacts of the user,
sort them according to the selected language's (locale's) collation
rules and only show those initial characters in the list. I think that
Cyrillic locales, for example, also contain collation rules for latin
characters.
State ⇒ Feedback
though it's already harder than it looks like, to map it to A. But how
about characters not from latin1 charsets, like cyrillic, chinese,
japanese, etc.?
Queue ⇒ Turba
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Turba letter sub page only has sub pages for ascii names
Type ⇒ Bug
Queue ⇒ Horde Groupware Webmail Edition
queue for Turba...)
If a user has so many contacts that Turba separates them into
different pages according to the first letter of a name, there is
trouble with international characters. If I have sorted my contacts
according to the surname and have a contact with the surname of, say,
"Äärelä", there are still only sub pages for contacts that begin with
[A-Z]; there appears no page for contacts that begin with "Ä" (that
is, A with two dots). I can only find contacts with non-low-ascii
first letter on the page that contains "All" my contacts.