Skip to content

Commit

Permalink
Fix is_available property (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
agitator committed Nov 5, 2019
1 parent 7bef78a commit 627b235
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
3.3 (unreleased)
----------------

- Fix is_available property
[agitator]
- Added css_modifier to extend css class of a filter item
[agitator]
- Fix check for boolean values.
Expand Down
9 changes: 4 additions & 5 deletions src/collective/collectionfilter/baseviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ def settings(self):
def available(self):
return True

@property
def is_available(self):
return True

@property
def filter_id(self):
raise NotImplementedError
Expand Down Expand Up @@ -195,11 +199,6 @@ def ajax_url(self):
] if it])
return ajax_url

@property
def is_available(self):
return True


if HAS_GEOLOCATION:

class BaseMapsView(BaseView):
Expand Down

0 comments on commit 627b235

Please sign in to comment.