Skip to content

Commit

Permalink
[Bug] Don't select null external IP addresses (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjustesen authored Feb 20, 2024
1 parent f097ce4 commit 2bacce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Filament/Resources/ResultResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public static function table(Table $table): Table
->options(function (): array {
return Result::query()
->select('data->interface->externalIp AS public_ip_address')
->whereNotNull('data->interface->externalIp')
->where('status', '=', ResultStatus::Completed)
->distinct()
->get()
Expand Down

0 comments on commit 2bacce9

Please sign in to comment.