Skip to content

Commit 74ce460

Browse files
authored
add search by ChainDealID (#1819)
1 parent 901820c commit 74ce460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/deals.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ func withSearchFilter(filter FilterOptions) (string, []interface{}) {
364364
return where, whereArgs
365365
}
366366

367-
var searchFields = []string{"ID", "PieceCID", "ClientAddress", "ProviderAddress", "ClientPeerID", "DealDataRoot", "PublishCID", "SignedProposalCID"}
367+
var searchFields = []string{"ID", "PieceCID", "ChainDealID", "ClientAddress", "ProviderAddress", "ClientPeerID", "DealDataRoot", "PublishCID", "SignedProposalCID"}
368368

369369
func withSearchQuery(fields []string, query string, searchLabel bool) (string, []interface{}) {
370370
query = strings.Trim(query, " \t\n")

0 commit comments

Comments
 (0)