Browse Source

fix: admin pages sorted by "last updated" by default (#1271)

* admin pages sorted by "last updated" by default. Creator and last Editor now in the table

#1270

* Sort by 'Last Updated' by default
Sebastien 5 years ago
parent
commit
8d735c2cc7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/components/admin/admin-pages.vue

+ 2 - 0
client/components/admin/admin-pages.vue

@@ -50,6 +50,8 @@
             :items-per-page='15'
             :items-per-page='15'
             :loading='loading'
             :loading='loading'
             must-sort,
             must-sort,
+            sort-by='updatedAt',
+            sort-desc,
             hide-default-footer
             hide-default-footer
           )
           )
             template(slot='item', slot-scope='props')
             template(slot='item', slot-scope='props')