Monorepo for Tangled tangled.org

appview/pulls: add search endpoint #709

merged opened by boltless.me targeting master from boltless.me/core: feat/search
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3m3umbnrwpb22
+2 -2
Interdiff #5 #6
appview/db/pulls.go

This file has not been changed.

appview/pages/pages.go

This file has not been changed.

appview/pages/templates/repo/pulls/pulls.html

This file has not been changed.

+2 -2
appview/pulls/pulls.go
··· 583 583 l.Error("failed to search for pulls", "err", err) 584 584 return 585 585 } 586 - l.Debug("searched pulls with indexer", "res.Hits", res.Hits) 587 586 ids = res.Hits 587 + l.Debug("searched pulls with indexer", "count", len(ids)) 588 588 } else { 589 589 ids, err = db.GetPullIDs(s.db, searchOpts) 590 590 if err != nil { 591 591 l.Error("failed to get all pull ids", "err", err) 592 592 return 593 593 } 594 - l.Debug("indexed all pulls from the db", "ids", ids) 594 + l.Debug("indexed all pulls from the db", "count", len(ids)) 595 595 } 596 596 597 597 pulls, err := db.GetPulls(
appview/state/router.go

This file has not been changed.

History

7 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview/pulls: add search endpoint
expand 0 comments
pull request successfully merged
1 commit
expand
appview/pulls: add search endpoint
expand 0 comments
1 commit
expand
appview/pulls: add search endpoint
expand 0 comments
1 commit
expand
appview/pulls: add search endpoint
expand 0 comments
1 commit
expand
appview/pulls: add search endpoint
expand 0 comments
1 commit
expand
appview/pulls: add search endpoint
expand 0 comments
1 commit
expand
appview/pulls: add search endpoint
expand 0 comments