mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
orderByDesc orderBy
This commit is contained in:
@@ -95,7 +95,9 @@ class CourseTable extends DataTableComponent
|
||||
'courseEvents',
|
||||
])
|
||||
->whereHas('courseEvents.venue.city.country',
|
||||
fn($query) => $query->where('countries.code', $this->country));
|
||||
fn($query) => $query->where('countries.code', $this->country))
|
||||
->orderByDesc('course_events_count')
|
||||
->orderBy('courses.id');
|
||||
}
|
||||
|
||||
public function courseSearch($id)
|
||||
|
||||
Reference in New Issue
Block a user