main book on top in comp wip

This commit is contained in:
salam committed 2026-01-04 08:19:46 +01:00
1 parent 40d97327d4
commit 612a5444d3
18 files changed
+271 -34

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ class Sport extends Model
}
} else {
if ($limit) {
return Sport::where('is_active', 1)->whereIn($limit, 'id')->pluck('id', $field)->toArray();
return Sport::where('is_active', 1)->whereIn('id', $limit)->pluck($field, 'id')->toArray();
} else {
return Sport::where('is_active', 1)->pluck($field, 'id')->toArray();
}