Skip to content

Commit

Permalink
Merge pull request #293 from overmindtech/document_filtering
Browse files Browse the repository at this point in the history
(maint) add explanation to ChangeFiltersRequest
  • Loading branch information
tphoney authored Dec 6, 2024
2 parents 40c6b17 + 3f1b6d4 commit 9357c3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ message ListHomeChangesRequest {
optional ChangeFiltersRequest filters = 2;
}

// ChangeFiltersRequest is used for filtering on the changes page.
// Repeated entries of the same type are used to represent OR conditions. eg if repo is ["a", "b"] then the filter is (repo == "a" OR repo == "b")
// The filters are ANDed together. eg if repo is ["a", "b"] and author is ["c"] then the filter is (repo == "a" OR repo == "b") AND author == "c"
message ChangeFiltersRequest {
repeated string repos = 1;
map<string, string> tags = 2;
Expand Down

0 comments on commit 9357c3a

Please sign in to comment.