Bug 308653: The error 'relation "map_products" does not exist' is returned using PostgreSQL when the classification column is displayed - Patch by Fr�d�ric Buclin <LpSolit@gmail.com> r=mkanat a=justdave

This commit is contained in:
lpsolit%gmail.com 2005-09-16 14:57:00 +00:00
Родитель 6fc2f72b6d
Коммит 3572c3b7b9
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -139,11 +139,11 @@ sub init {
}
if (lsearch($fieldsref, 'map_classifications.name') >= 0) {
push @supptables, "INNER JOIN products AS map_products " .
"ON bugs.product_id = map_products.id";
push @supptables,
"INNER JOIN classifications AS map_classifications " .
"ON map_products.classification_id = map_classifications.id";
push @supptables, "INNER JOIN products AS map_products " .
"ON bugs.product_id = map_products.id";
}
if (lsearch($fieldsref, 'map_components.name') >= 0) {