| Summary | Sorting address book search results |
| Queue | Turba |
| Queue Version | HEAD |
| Type | Bug |
| State | Duplicate |
| Priority | 1. Low |
| Owners | |
| Requester | brana (at) ualberta (dot) ca |
| Created | 6/26/07 (6941 days ago) |
| Due | |
| Updated | 6/27/07 (6940 days ago) |
| Assigned | 6/27/07 (6940 days ago) |
| Resolved | 6/27/07 (6940 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Duplicate
bug 3909then.user is only presented with one field to enter a name. how can we
seperately identify first and last name?
State ⇒ Feedback
firstname/lastname fields?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Sorting address book search results
Queue ⇒ Turba
State ⇒ Unconfirmed
Imp: H3 (4.1.4)
Turba: H3 (2.1.4)
Hello.
When doing an address book search the results are sometimes not sorted
properly. If the user has set the name_format option in the address
book settings to be 'last_first' then a search on a last name (eg:
'macdougall') is not ordered, but a search on a first name (eg:
'william') is sorted.
I made a minor change to the following files which fixes the sorting
problem, but I'm not sure if this is the best solution:
horde/turba/search.php
horde/turba/lib/api.php
# diff search.php.bak search.php
68c68
< ? (($prefs->getValue('name_format') == 'first_last')
---
894c894
< ? (($prefs->getValue('name_format') == 'first_last')
---
Babita Rana