Skip to content

Commit 2bacce9

Browse files
authored
[Bug] Don't select null external IP addresses (alexjustesen#1172)
1 parent f097ce4 commit 2bacce9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Filament/Resources/ResultResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public static function table(Table $table): Table
181181
->options(function (): array {
182182
return Result::query()
183183
->select('data->interface->externalIp AS public_ip_address')
184+
->whereNotNull('data->interface->externalIp')
184185
->where('status', '=', ResultStatus::Completed)
185186
->distinct()
186187
->get()

0 commit comments

Comments
 (0)