Skip to content

Commit

Permalink
As well as this one
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedyD authored Sep 2, 2024
1 parent 81b7863 commit d2e47fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/BrowseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public function getCharacters(Request $request) {
'characters' => $query->paginate(24)->appends($request->query()),
'categories' => [0 => 'Any Category'] + CharacterCategory::whereNotIn('id', $subCategories)->visible(Auth::user() ?? null)->orderBy('character_categories.sort', 'DESC')->pluck('name', 'id')->toArray(),
'specieses' => [0 => 'Any Species'] + Species::whereNotIn('id', $subSpecies)->visible(Auth::user() ?? null)->orderBy('specieses.sort', 'DESC')->pluck('name', 'id')->toArray(),
'subtypes' => [0 => 'Any Subtype'] + Subtype::visible(Auth::user() ?? null)->orderBy('subtypes.sort', 'DESC')->pluck('name', 'id')->toArray(),
'subtypes' => ['any' => 'Any Subtype', 'hybrid' => 'Multiple / Hybrid Subtypes'] + Subtype::visible(Auth::user() ?? null)->orderBy('subtypes.sort', 'DESC')->pluck('name', 'id')->toArray(),
'rarities' => [0 => 'Any Rarity'] + Rarity::orderBy('rarities.sort', 'DESC')->pluck('name', 'id')->toArray(),
'features' => Feature::getDropdownItems(),
'sublists' => Sublist::orderBy('sort', 'DESC')->get(),
Expand Down

0 comments on commit d2e47fd

Please sign in to comment.