Index: openacs-4/packages/cms/www/modules/items/templates-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/items/templates-postgresql.xql,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/cms/www/modules/items/templates-postgresql.xql 23 May 2005 01:50:23 -0000 1.4.2.1 +++ openacs-4/packages/cms/www/modules/items/templates-postgresql.xql 19 Feb 2007 22:17:43 -0000 1.4.2.2 @@ -24,7 +24,7 @@ select template_id, use_context, - content_item__get_path( template_id, null ) as path, + '/' || content_item__get_path( template_id, :template_root ) as path, acs_permission__permission_p( template_id, :user_id, 'read') as can_read_template from @@ -43,7 +43,7 @@ select template_id, use_context, is_default, - content_item__get_path( template_id, null ) as path, + '/' || content_item__get_path( template_id, :template_root ) as path, acs_permission__permission_p( template_id, :user_id, 'read') as can_read_template, (select 1