Index: trunk/extensions/SemanticDrilldown/specials/SD_BrowseData.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | $sql .= " ids.smw_id AS id "; |
108 | 108 | $sql .= $this->getSQLFromClause_2($category, $subcategory, $subcategories, $applied_filters); |
109 | 109 | } else { |
110 | | - $sql = " p.page_id AS id "; |
| 110 | + $sql .= " p.page_id AS id "; |
111 | 111 | $sql .= $this->getSQLFromClause_orig($category, $subcategory, $subcategories, $applied_filters); |
112 | 112 | } |
113 | 113 | $dbr->query($sql); |