Skip to content

Commit

Permalink
Merge pull request #2 from Moustafa-Moustafa/snapshot-core-poc
Browse files Browse the repository at this point in the history
Support filtering by snapshot
  • Loading branch information
Moustafa-Moustafa authored Jan 2, 2025
2 parents 7943bef + 99c045e commit 849f3c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pulpcore/app/viewsets/publication.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class Meta:
model = Publication
fields = {
"pulp_created": DATETIME_FILTER_OPTIONS,
"snapshot": ["exact"],
}


Expand Down Expand Up @@ -497,6 +498,7 @@ class Meta:
"name": NAME_FILTER_OPTIONS,
"base_path": ["exact", "contains", "icontains", "in"],
"repository": ["exact", "in"],
"snapshot": ["exact"],
}


Expand Down

0 comments on commit 849f3c9

Please sign in to comment.