We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d03149 commit 5fdc038Copy full SHA for 5fdc038
app/Http/Controllers/RoundController.php
@@ -225,7 +225,7 @@ public function listPublic(Request $request)
225
226
$search = $request->query('search');
227
if ($search) {
228
- $rounds = Round::search($search)->paginate();
+ $rounds = Round::search($search)->paginate(50);
229
$rounds->load(['chain']);
230
$rounds->loadCount('applications');
231
} else {
app/Models/Round.php
@@ -106,6 +106,7 @@ public function toSearchableArray()
106
{
107
return [
108
'name' => $this->name,
109
+ 'year' => date('Y', strtotime($this->applications_start_time)),
110
'round_addr' => $this->round_addr,
111
'match_token_address' => $this->match_token_address,
112
'chain_id' => $this->chain_id,
0 commit comments