Skip to content

Commit

Permalink
Merge pull request #207 from GeOsmFamily:dev
Browse files Browse the repository at this point in the history
update civ role
  • Loading branch information
BorisGautier authored Nov 24, 2023
2 parents 531c79b + f743794 commit 099a13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/OscResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static function getEloquentQuery(): Builder
]);
}
if( auth()->user()->role == 7) {
return parent::getEloquentQuery()->where('pays', 'Cote d\'ivoire')->orWhere('pays', 'Côte d\'ivoire')
return parent::getEloquentQuery()->where('pays', 'Cote d\'ivoire')->orWhere('pays', 'Côte d\'ivoire')->orWhere('pays', 'Côte d\'Ivoire')->orWhere('pays', 'Cote d\'Ivoire')
->withoutGlobalScopes([
SoftDeletingScope::class,
]);
Expand Down

0 comments on commit 099a13a

Please sign in to comment.