Don't regenerate raw sortkeys in CategoryPage.php
[lhc/web/wiklou.git] / includes / CategoryPage.php
index a5fbe8e..5b96a1d 100644 (file)
@@ -360,7 +360,7 @@ class CategoryViewer {
                        $count = 0;
                        foreach ( $res as $row ) {
                                $title = Title::newFromRow( $row );
-                               $rawSortkey = $title->getCategorySortkey( $row->cl_sortkey_prefix );
+                               $rawSortkey = $row->cl_sortkey;
 
                                if ( ++$count > $this->limit ) {
                                        # We've reached the one extra which shows that there