Skip to content

Commit

Permalink
Merge pull request #394 from jonasdekeukelaere/fixes
Browse files Browse the repository at this point in the history
Media gallery fixes
  • Loading branch information
tijsverkoyen authored Feb 13, 2025
2 parents 2efba15 + c7ea59c commit 5f524fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class MediaGalleryDataGrid extends DataGridDatabase
public function __construct()
{
parent::__construct(
'SELECT i.id, i.title, i.action, UNIX_TIMESTAMP(i.editedOn) AS editedOn
FROM MediaGallery AS i'
'SELECT i.id, i.title, i.action, UNIX_TIMESTAMP(i.edited_on) AS editedOn
FROM media_gallery AS i'
);

$this->setHeaderLabels(['title' => SpoonFilter::ucfirst(Language::lbl('Title'))]);
Expand Down

0 comments on commit 5f524fa

Please sign in to comment.