Fix bug in result listing

This commit is contained in:
Arturo Filastò 2018-09-10 16:56:32 +02:00
commit e5c508a94c
4 changed files with 17 additions and 11 deletions

View file

@ -13,8 +13,10 @@ import (
// ResultNetwork is used to represent the structure made from the JOIN
// between the results and networks tables.
type ResultNetwork struct {
Result `db:",inline"`
Network `db:",inline"`
Result `db:",inline"`
ResultID int64 `db:"result_id"`
Network `db:",inline"`
NetworkID int64 `db:"network_id"`
}
// MeasurementURLNetwork is used for the JOIN between Measurement and URL