Skip to content

Commit

Permalink
Remove previous caching following merge from master
Browse files Browse the repository at this point in the history
  • Loading branch information
instification committed Sep 15, 2021
1 parent fdcfd93 commit f65cafd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/collective/collectionfilter/vocabularies.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@ class GroupByCriteria:
@ram.cache(_groupby_cache_key)
def groupby(self):

if self._groupby is not None:
# The groupby criteria are used at each IBeforeTraverseEvent - so
# on each request. This has to be fast, so exit early.
return self._groupby
self._groupby = {}

cat = plone.api.portal.get_tool("portal_catalog")
# get catalog metadata schema, but filter out items which cannot be
# used for grouping
Expand Down

0 comments on commit f65cafd

Please sign in to comment.