From 401a16e0c889a9820dd1535a27a07a04265244be Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Tue, 23 Dec 2025 06:50:26 +0000 Subject: [PATCH] appview/db: avoid empty languages when calculating major language Signed-off-by: oppiliappan --- appview/db/repos.go | 1 + 1 file changed, 1 insertion(+) diff --git a/appview/db/repos.go b/appview/db/repos.go index b6c70267..88ec4c13 100644 --- a/appview/db/repos.go +++ b/appview/db/repos.go @@ -158,6 +158,7 @@ func GetRepos(e Execer, limit int, filters ...orm.Filter) ([]models.Repo, error) from repo_languages where repo_at in (%s) and is_default_ref = 1 + and language <> '' ) where rn = 1 `, -- 2.51.2