Index: openacs-4/packages/acs-subsite/www/admin/applications/index-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/applications/index-oracle.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-subsite/www/admin/applications/index-oracle.xql 26 Jan 2005 00:16:39 -0000 1.1 +++ openacs-4/packages/acs-subsite/www/admin/applications/index-oracle.xql 15 Feb 2005 16:21:00 -0000 1.2 @@ -11,7 +11,7 @@ p.package_id, p.instance_name, pt.pretty_name as package_pretty_name, - 0 as level, + 0 as treelevel, (select count(*) from apm_parameters par where par.package_key = pt.package_key) as num_parameters from site_nodes n, apm_packages p, Index: openacs-4/packages/acs-subsite/www/admin/applications/index-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/applications/index-postgresql.xql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-subsite/www/admin/applications/index-postgresql.xql 26 Jan 2005 00:16:39 -0000 1.1 +++ openacs-4/packages/acs-subsite/www/admin/applications/index-postgresql.xql 15 Feb 2005 16:21:00 -0000 1.2 @@ -10,7 +10,7 @@ n.name, p.package_id, p.instance_name, - tree_level(n.tree_sortkey) - tree_level(np.tree_sortkey) as level, + tree_level(n.tree_sortkey) - tree_level(np.tree_sortkey) as treelevel, pt.pretty_name as package_pretty_name, (select count(*) from apm_parameters par where par.package_key = pt.package_key) as num_parameters from site_nodes n, Index: openacs-4/packages/acs-subsite/www/admin/applications/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/applications/index.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/acs-subsite/www/admin/applications/index.tcl 26 Jan 2005 00:16:39 -0000 1.7 +++ openacs-4/packages/acs-subsite/www/admin/applications/index.tcl 15 Feb 2005 16:21:00 -0000 1.8 @@ -15,7 +15,7 @@ set subsite_node_id $subsite_sitenode(node_id) db_multirow -extend { parameter_url } applications select_applications {} { - set instance_name "[string repeat .. $level]$instance_name" + set instance_name "[string repeat .. $treelevel]$instance_name" if { $num_parameters > 0 } { set parameter_url [export_vars -base ../../shared/parameters { package_id { return_url [ad_return_url] } }] }