Skip to content

Commit

Permalink
minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Apr 19, 2019
1 parent 4fe351d commit 1075781
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ Changelog

New features:

- Geolocation filter
- Geolocation filter.
[petschki, thet]


Bug fixes:

- constrain ``target collection`` to a configurable registry value.
the default is ``['Collection', ]``
- Constrain ``target collection`` to a configurable registry value.
The default is ``['Collection', ]``.
[petschki]

- fix non-interable catalog metadata values for Python 3
- Fix non-interable catalog metadata values for Python 3.
[petschki]


Expand Down
2 changes: 1 addition & 1 deletion src/collective/collectionfilter/tests/test_filteritems.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_filteritems(self):
self.assertEqual(get_data_by_val(result, u'all')['count'], 1)

def test_portal_type_filter(self):
self.assertEqual(len(self.portal['testcollection'].results()), 2)
self.assertEqual(len(self.collection.results()), 2)

result = get_filter_items(
self.collection_uid, 'portal_type', cache_enabled=False)
Expand Down

0 comments on commit 1075781

Please sign in to comment.