diff options
author | lpsolit%gmail.com <> | 2005-09-16 23:57:00 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-16 23:57:00 +0200 |
commit | 2f3084922bfe7cb8759fe4064c46311385fa23f0 (patch) | |
tree | 60d1e3a35ddcd96c21ce3890dbe84a2c593ef953 /Bugzilla | |
parent | d8df1674801ce2392cfdd78114c5a4f6eb96f840 (diff) | |
download | bugzilla-2f3084922bfe7cb8759fe4064c46311385fa23f0.tar.gz bugzilla-2f3084922bfe7cb8759fe4064c46311385fa23f0.tar.xz |
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
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Search.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 55113f641..fc66d7f24 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -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) { |