hi everybody
here again, a nice day to Klaus, Gray and Becker
there was a bug That I posted before but you didn’t reply about it.
using postgresql on debian and windows, and when you wants to create a distribution list in the addressbook, and then you enter to that distribution list, it show you a big DB error. I try it with mysql and is working fine,
this is the error:
Invalid SQL: SELECT egw_addressbook.*,n_family,n_family<>’’ FROM egw_addressbook JOIN egw_addressbook2list ON egw_addressbook.contact_id=egw_addressbook2list.contact_id AND list_id=1 LEFT JOIN egw_accounts ON egw_addressbook.account_id=egw_accounts.account_id WHERE contact_tid=‘n’ AND (egw_addressbook.contact_owner=9 OR contact_private=0 AND egw_addressbook.contact_owner IN (9,0) OR egw_addressbook.contact_owner IS NULL) AND (account_expires IS NULL OR account_expires = -1 OR account_expires > 1294932544) ORDER BY n_family<>’’ DESC,n_family ASC,n_given ASC,org_name ASC:
ERROR: ORDER BY «n_family» is ambiguous
LINE 1: …_expires > 1294932544) ORDER BY n_family<>’’ DESC,n_family A…
^
I will appreciate your answers.
thanks in advance.