Skip to content

Commit

Permalink
Event sorting correction
Browse files Browse the repository at this point in the history
  • Loading branch information
NuwanJ committed Nov 7, 2024
1 parent ddf00dd commit 4df01a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Livewire/Backend/EventsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function ($query) {
$query->where('event_type', 'LIKE', "%\"$eventType\"%");
}
)
->orderBy('published_at', 'desc');
->orderBy('created_at', 'desc');
}
public function toggleEnable($eventId)
{
Expand Down

0 comments on commit 4df01a3

Please sign in to comment.