Skip to content

Commit

Permalink
#51: Add method to add a list of filters to filter handler
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Sep 11, 2019
1 parent 33ea947 commit 9c6cfb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/database_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ def __init__(self):
def add_filter(self, filter):
self.filters.append(filter)

def add_filters(self, filters):
self.filters.extend(filters)

def sort_filters(self):
"""
Sorts the filters according to the order of operations
Expand Down

0 comments on commit 9c6cfb1

Please sign in to comment.