Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ScuffedNewt committed Dec 5, 2023
1 parent e73f04f commit 84274e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Admin/Data/FeatureController.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function postSortFeatureCategory(Request $request, FeatureService $servic
*/
public function getFeatureIndex(Request $request) {
$query = Feature::query();
$data = $request->only(['rarity_id', 'feature_category_id', 'species_id', 'name']);
$data = $request->only(['rarity_id', 'feature_category_id', 'species_id', 'subtype_id', 'name']);
if (isset($data['rarity_id']) && $data['rarity_id'] != 'none') {
$query->where('rarity_id', $data['rarity_id']);
}
Expand Down

0 comments on commit 84274e2

Please sign in to comment.