Skip to content

Commit

Permalink
Merge pull request #481 from Sturlen/monster-size-and-hp-search
Browse files Browse the repository at this point in the history
Query Monsters by size and hit points
  • Loading branch information
calumbell authored Jul 20, 2024
2 parents d0a7075 + 29f3518 commit d0ca7ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ class Meta:
"name": ["iexact", "exact", "icontains"],
"desc": ["iexact", "exact", "in", "icontains"],
"cr": ["exact", "range", "gt", "gte", "lt", "lte"],
"hit_points": ["exact", "range", "gt", "gte", "lt", "lte"],
"armor_class": ["exact", "range", "gt", "gte", "lt", "lte"],
"type": ["iexact", "exact", "in", "icontains"],
"size": ["iexact", "exact", "in", "icontains"],
"page_no": ["exact", "range", "gt", "gte", "lt", "lte"],
"document__slug": [
"iexact",
Expand Down

0 comments on commit d0ca7ec

Please sign in to comment.