Page MenuHomeIn-Portal Phabricator

D126.diff
No OneTemporary

File Metadata

Created
Thu, Aug 14, 4:52 AM

D126.diff

Index: branches/5.2.x/core/units/helpers/cat_dbitem_export_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/cat_dbitem_export_helper.php
+++ branches/5.2.x/core/units/helpers/cat_dbitem_export_helper.php
@@ -531,7 +531,7 @@
$sql = substr($sql, 0, -4);
}
- $sql .= ' ORDER BY ci.PrimaryCat DESC'; // NEW
+ $sql .= ' ORDER BY ci.PrimaryCat DESC, c.TreeLeft ASC, item_table.' . $this->curItem->IDField . ' ASC';
}
else {
// get only selected links

Event Timeline