Index: openacs-4/packages/contacts/www/search.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/search.xql,v diff -u -r1.6 -r1.7 --- openacs-4/packages/contacts/www/search.xql 1 Apr 2006 07:07:16 -0000 1.6 +++ openacs-4/packages/contacts/www/search.xql 1 May 2006 19:55:49 -0000 1.7 @@ -174,15 +174,14 @@ - select - title, - owner_id, - all_or_any, - object_type - from - contact_searches - where - search_id = :search_id + select ao.title, + cs.owner_id, + cs.all_or_any, + cs.object_type + from contact_searches cs, + acs_objects ao + where cs.search_id = :search_id + and cs.search_id = ao.object_id