Add address raw content to report
This populates the address in the compliance flow UI
This commit is contained in:
parent
53ce100859
commit
af39a73e8f
2 changed files with 8 additions and 1 deletions
|
|
@ -90,6 +90,7 @@ func reportQueryToRows(ctx context.Context, query bob.BaseQuery[*dialect.SelectQ
|
|||
if row.Location.Latitude == 0.0 || row.Location.Longitude == 0.0 {
|
||||
row.Location = nil
|
||||
}
|
||||
row.Address.Raw = types.AddressToRaw(row.Address)
|
||||
results[i] = &row
|
||||
}
|
||||
return results, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue