Skip to content

Commit

Permalink
Add filter by code prefix (#1660)
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored Mar 3, 2022
1 parent 5b98a61 commit 64d108c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pola/product/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ class Meta:
model = Product
fields = {
'name': ['icontains'],
'code': ['icontains'],
'code': ['icontains', 'istartswith'],
}

0 comments on commit 64d108c

Please sign in to comment.