Index: openacs-4/packages/contacts/www/index.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/index.xql,v diff -u -N -r1.8 -r1.9 --- openacs-4/packages/contacts/www/index.xql 1 May 2006 19:54:52 -0000 1.8 +++ openacs-4/packages/contacts/www/index.xql 19 Jun 2006 08:07:32 -0000 1.9 @@ -3,13 +3,15 @@ - select title, - search_id - from contact_searches - where owner_id = :package_id - and title is not null - and not deleted_p - order by lower(title) + select acs_objects.title, + contact_searches.search_id + from contact_searches, + acs_objects + where contact_searches.owner_id = :package_id + and contact_searches.search_id = acs_objects.object_id + and acs_objects.title is not null + and not contact_searches.deleted_p + order by lower(acs_objects.title)