From 7eb7bc613a88672e604fa5b4b2b7839f87b385d4 Mon Sep 17 00:00:00 2001 From: ankit agarwal Date: Thu, 24 Mar 2011 20:40:05 +0530 Subject: [PATCH 2/2] fix for MDL-26931 --- blog/locallib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/blog/locallib.php b/blog/locallib.php index 52ff8c3..54e7f12 100644 --- a/blog/locallib.php +++ b/blog/locallib.php @@ -718,7 +718,7 @@ class blog_listing { global $DB; if (empty($this->entries)) { - if ($sqlarray = $this->get_entry_fetch_sql()) { + if ($sqlarray = $this->get_entry_fetch_sql(false,'created DESC')) { $this->entries = $DB->get_records_sql($sqlarray['sql'], $sqlarray['params'], $start, $limit); } else { return false; -- 1.7.3.1.msysgit.0