Index: openacs-4/contrib/packages/simulation/lib/yellow-pages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/yellow-pages.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/contrib/packages/simulation/lib/yellow-pages.tcl 27 Jan 2004 14:57:44 -0000 1.3 +++ openacs-4/contrib/packages/simulation/lib/yellow-pages.tcl 11 Feb 2004 15:04:05 -0000 1.4 @@ -62,8 +62,10 @@ sl.item_id, sl.description from sim_locationsx sl, + cr_items ci, acs_object_types ot where sl.in_directory_p = 't' + and ci.live_revision = sl.revision_id and ot.object_type = sl.object_type UNION select sc.object_id, @@ -75,8 +77,10 @@ sc.item_id, sc.description from sim_charactersx sc, + cr_items ci, acs_object_types ot where sc.in_directory_p = 't' + and ci.live_revision = sc.revision_id and ot.object_type = sc.object_type [template::list::orderby_clause -orderby -name "objects"]