We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b8916 commit 6565df2Copy full SHA for 6565df2
1 file changed
app/Livewire/Projects.php
@@ -54,6 +54,7 @@ private function projects(): LengthAwarePaginator
54
return Project::query()
55
->wherePublished()
56
->when($this->tag, fn ($query) => $query->withAnyTags($this->tag))
57
+ ->orderByDesc('is_featured')
58
->latest()
59
->paginate(perPage: 12);
60
}
0 commit comments