--- a/Allura/allura/controllers/project.py
+++ b/Allura/allura/controllers/project.py
@@ -169,9 +169,10 @@
if project_description:
c.project.short_description = project_description
ming.orm.ormsession.ThreadLocalORMSession.flush_all()
+ offset = c.project.ordered_mounts(include_search=True)[-1]['ordinal'] + 1
for i, tool in enumerate(kw):
if kw[tool]:
- c.project.install_app(tool, ordinal=i)
+ c.project.install_app(tool, ordinal=i+offset)
flash('Welcome to the SourceForge Beta System! '
'To get started, fill out some information about your project.')
redirect(c.project.script_name + 'admin/overview')