Commit 2f308492 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 308653: The error 'relation "map_products" does not exist' is returned using…

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
parent d8df1674
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment