diff --git a/routers/search.go b/routers/search.go index 64832d794..a83b53261 100644 --- a/routers/search.go +++ b/routers/search.go @@ -205,6 +205,7 @@ func getSort(SortBy string, ascending bool, secondSortBy string, secondAscending if SortBy == "default" { sort = append(sort, elastic.NewScoreSort()) if secondSortBy != "" { + log.Info("SortBy=" + SortBy + " secondSortBy=" + secondSortBy) sort = append(sort, elastic.NewFieldSort(secondSortBy).Order(secondAscending)) } return sort