Changes
1 changed files (+3/-1)
-
-
@@ -340,7 +340,9 @@ func GetFeeds(ctx context.Context, opts GetFeedsOptions) (ActionList, error) {} e := db.GetEngine(ctx) sess := e.Where(cond).Join("INNER", "repository", "`repository`.id = `action`.repo_id") sess := e.Where(cond). Select("`action`.*"). // this line will avoid select other joined table's columns Join("INNER", "repository", "`repository`.id = `action`.repo_id") opts.SetDefaultValues() sess = db.SetSessionPagination(sess, &opts)
-