Skip to content

Commit

Permalink
Issue OSU-Net#1012 Regex filter support in API
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeman committed Jun 12, 2015
1 parent 64de4a0 commit e7410ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cyder/api/v1/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ def filter_queryset(self, request, queryset, view):

for q in request.QUERY_PARAMS:
p = request.QUERY_PARAMS[q]
if q.endswith(("__regex", "__iregex")):
continue

elif q.startswith("i:"):
if q.startswith("i:"):
q_include[namehack(q[2:])] = p

elif q.startswith("e:"):
Expand Down

0 comments on commit e7410ef

Please sign in to comment.