Commit 51d9c090 authored by Nicolas Widart's avatar Nicolas Widart

Squashed 'Modules/Core/' changes from b620e93..3c53b2a

3c53b2a Ordering by descending order
65b7a84 Adding thumbnail column translation
a3a2200 Setting the new file browser uri

git-subtree-dir: Modules/Core
git-subtree-split: 3c53b2aba39b1878956c1f1f66017eb7d4a5e41d
parent 17dcea79
......@@ -36,6 +36,6 @@ CKEDITOR.editorConfig = function( config ) {
// Make dialogs simpler.
config.removeDialogTabs = 'image:advanced;link:advanced';
config.filebrowserBrowseUrl = '/backend/files',
config.filebrowserBrowseUrl = '/admin/grid-files',
config.filebrowserUploadUrl = '/backend/files/upload'
};
......@@ -36,7 +36,7 @@ abstract class EloquentBaseRepository implements BaseRepository
*/
public function all()
{
return $this->model->all();
return $this->model->orderBy('created_at', 'DESC')->get();
}
/**
......
......@@ -8,6 +8,7 @@ return [
'table' => [
'created at' => 'Created at',
'actions' => 'Actions',
'thumbnail' => 'Thumbnail',
],
'tab' => [
'english' => 'English',
......
......@@ -8,6 +8,7 @@ return [
'table' => [
'created at' => 'Crée à',
'actions' => 'Actions',
'thumbnail' => 'Vignette',
],
'button' => [
'cancel' => 'Annuler',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment