X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FCategoryViewer.php;h=f78597bb123817d2f202e1c0b779ff8f614648c1;hp=a07e1b477502d26e761e148655643aa2494c2252;hb=3bf40e4021fbe1087ab275767d5cf367b4a32f02;hpb=1de7117197761961736ea43b237599569eee93a2 diff --git a/includes/CategoryViewer.php b/includes/CategoryViewer.php index a07e1b4775..f78597bb12 100644 --- a/includes/CategoryViewer.php +++ b/includes/CategoryViewer.php @@ -125,7 +125,7 @@ class CategoryViewer extends ContextSource { // @todo FIXME: Cannot be completely suppressed because it // is unknown if 'until' or 'from' makes this // give 0 results. - $r = $r . $this->getCategoryTop(); + $r = $this->getCategoryTop(); } else { $r = $this->getCategoryTop() . $r . @@ -339,7 +339,7 @@ class CategoryViewer extends ContextSource { 'ORDER BY' => $this->flip[$type] ? 'cl_sortkey DESC' : 'cl_sortkey', ], [ - 'categorylinks' => [ 'INNER JOIN', 'cl_from = page_id' ], + 'categorylinks' => [ 'JOIN', 'cl_from = page_id' ], 'category' => [ 'LEFT JOIN', [ 'cat_title = page_title', 'page_namespace' => NS_CATEGORY