Set first to "Undefined" when empty
This commit is contained in:
parent
373b742f17
commit
0ba4c2d258
|
@ -112,6 +112,9 @@ func (db *Database) request(request *ViewsRequest) (resultRows []*RequestResultR
|
|||
_ = rows.Close()
|
||||
return
|
||||
}
|
||||
if first == "" {
|
||||
first = "Undefined"
|
||||
}
|
||||
resultRows = append(resultRows, &RequestResultRow{
|
||||
First: first,
|
||||
Second: second,
|
||||
|
|
Reference in New Issue