diff --git a/dbs/datasets.go b/dbs/datasets.go index b2cf5f93..fab864e2 100644 --- a/dbs/datasets.go +++ b/dbs/datasets.go @@ -22,6 +22,9 @@ func (API) Datasets(params Record, w http.ResponseWriter) (int64, error) { // parse detail arugment detail, _ := getSingleValue(params, "detail") + if detail == "1" { // for backward compatibility with Python detail=1 and detail=True + detail = "true" + } if strings.ToLower(detail) == "true" { tmpl["Detail"] = true }