From 24fc147ee87306c35ca90d1c5dde391ddf2fc0a8 Mon Sep 17 00:00:00 2001 From: Min Chen Date: Fri, 19 Jul 2013 16:43:44 -0700 Subject: [PATCH] System Template shows twice in listTemplates with S3 as secondary storage. --- setup/db/db/schema-410to420.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/db/db/schema-410to420.sql b/setup/db/db/schema-410to420.sql index 596723c9fa4..dd8c75a1237 100644 --- a/setup/db/db/schema-410to420.sql +++ b/setup/db/db/schema-410to420.sql @@ -1964,7 +1964,7 @@ CREATE VIEW `cloud`.`template_view` AS left join `cloud`.`vm_template` source_template ON source_template.id = vm_template.source_template_id left join - `cloud`.`template_store_ref` ON template_store_ref.template_id = vm_template.id + `cloud`.`template_store_ref` ON template_store_ref.template_id = vm_template.id and template_store_ref.store_role = 'Image' left join `cloud`.`image_store` ON image_store.removed is NULL AND template_store_ref.store_id is not NULL AND image_store.id = template_store_ref.store_id left join