Skip to content

Commit

Permalink
fix(navbar): have Global Ranking link default to All Time (#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
wescopeland authored Jun 4, 2023
1 parent 5a017da commit f937509
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/globalRanking.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$offset = requestInputSanitized('o', 0, 'integer');
$offset = max($offset, 0);
$sort = requestInputSanitized('s', 5, 'integer');
$type = requestInputSanitized('t', 0, 'integer');
$type = requestInputSanitized('t', 2, 'integer');
$friends = requestInputSanitized('f', 0, 'integer');
$untracked = requestInputSanitized('u', 0, 'integer');
$date = requestInputSanitized('d', date("Y-m-d"));
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/menu/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
[
'active' => Route::is('ranking*'),
'label' => __res('ranking'),
'url' => url('globalRanking.php?s=5&t=2'),
'url' => url('globalRanking.php'),
// 'url' => route('user.index'),
'visible' => true,
],
Expand Down
2 changes: 1 addition & 1 deletion resources/views/content/top-links.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<x-section class="mb-3 flex flex-col gap-2">
<a class="btn text-center py-2" href="/globalRanking.php?s=5&t=2">
<a class="btn text-center py-2" href="/globalRanking.php">
<span class="text-yellow-400"><x-fas-medal/></span>
Global Ranking
</a>
Expand Down

0 comments on commit f937509

Please sign in to comment.