diff --git a/api/compare.go b/api/compare.go index cfb728c..e7d77fa 100644 --- a/api/compare.go +++ b/api/compare.go @@ -60,7 +60,11 @@ func HandleCompare(w http.ResponseWriter, r *http.Request) *types.AppError { if m.Notes.Valid { values[strainID] = fmt.Sprintf("%s (%s)", m.Value(), m.Notes.String) } else { - values[strainID] = m.Value() + if values[strainID] != "" { + values[strainID] = fmt.Sprintf("%s, %s", values[strainID], m.Value()) + } else { + values[strainID] = m.Value() + } } } }