1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 19:01:40 +02:00

Flextype Admin Panel: Entries #175 #165

- Collections implementation - next round
This commit is contained in:
Awilum
2019-06-28 14:37:58 +03:00
parent f95cb08320
commit a57f50dbc5

View File

@@ -62,7 +62,7 @@ class EntriesController extends Controller
$response,
'plugins/admin/views/templates/content/entries/index.html',
[
'entries_list' => $this->entries->fetchAll($this->getEntryID($query), 'date', 'DESC'),
'entries_list' => $this->entries->fetchAll($this->getEntryID($query), ['order_by' => ['field' => 'date', 'direction' => 'desc']]),
'id_current' => $this->getEntryID($query),
'menu_item' => 'entries',
'parts' => $parts,