Monorepo for Tangled tangled.org
6

Configure Feed

Select the types of activity you want to include in your feed.

appview/db: rename GetTotalPipelineStatuses to GetPipelineCount

Signed-off-by: oppiliappan <me@oppi.li>

author
oppiliappan
committer
Tangled
date (May 20, 2026, 11:53 AM +0300) commit 18fcaf49 parent 78b2ec82 change-id vlzrswrw
+2 -2
+1 -1
appview/db/pipeline.go
··· 391 391 392 392 // the pipelines table is aliased to `p` 393 393 // the triggers table is aliased to `t` 394 - func GetTotalPipelineStatuses(e Execer, filters ...orm.Filter) (int64, error) { 394 + func GetPipelineCount(e Execer, filters ...orm.Filter) (int64, error) { 395 395 var conditions []string 396 396 var args []any 397 397 for _, filter := range filters {
+1 -1
appview/pipelines/pipelines.go
··· 110 110 return 111 111 } 112 112 113 - total, err := db.GetTotalPipelineStatuses(p.db, filters...) 113 + total, err := db.GetPipelineCount(p.db, filters...) 114 114 if err != nil { 115 115 l.Error("failed to query db", "err", err) 116 116 return