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()
|
_ = rows.Close()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if first == "" {
|
||||||
|
first = "Undefined"
|
||||||
|
}
|
||||||
resultRows = append(resultRows, &RequestResultRow{
|
resultRows = append(resultRows, &RequestResultRow{
|
||||||
First: first,
|
First: first,
|
||||||
Second: second,
|
Second: second,
|
||||||
|
|
Reference in New Issue