mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-26931-blog-post-order_master' of git://github.com/mudrd8mz/moodle
This commit is contained in:
commit
a70ba1b069
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user