зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
6fc2f72b6d
Коммит
3572c3b7b9
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче