[Tickets #14280] Display alternativeName in addressbook list
noreply at bugs.horde.org
noreply at bugs.horde.org
Sun Mar 6 16:25:45 UTC 2016
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14280
------------------------------------------------------------------------------
Ticket | 14280
Created By | dreytac at homehobby.net
Summary | Display alternativeName in addressbook list
Queue | Turba
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
dreytac at homehobby.net (2016-03-06 16:25) wrote:
I'm using the default 'localsql' backend and have configured the
'lastname' field to be optional.
I'm trying to get a company contact to display the 'company' field
rather than the 'name' field on the address book list page. I assumed
the 'alternativeName' field would be displayed (default set to
'company') but it is just displaying "Blank name".
The reason behind this is that in the "lib\View\Browse.php" file, on
line 473, you are querying for either a list of columns or just the
'name' field. Adding the company to the list of columns, then excludes
it in the "templates\browse\row.inc" file on line 6.
The fix for this is to add the 'alternativeName' field to the list of
fields in the "lib\View\Browser.php" file.
More information about the bugs
mailing list