Commit d8b27653 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #1280 from iurisilvio/patch-3

Fix 'BaseFilter.apply` arguments
parents d4a8cef6 2ed3d902
......@@ -67,12 +67,14 @@ class BaseFilter(object):
"""
return value
def apply(self, query):
def apply(self, query, value):
"""
Apply search criteria to the query and return new query.
:param query:
Query
:param value:
Search criteria
"""
raise NotImplementedError()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment