Skip to content

Commit

Permalink
Remove monkeypatch 馃拃
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Mar 5, 2024
1 parent 7dc4140 commit e6bb848
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/redturtle/volto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,3 @@ def Catalog_sortResults(
logger.info("install monkey patch for Products.ZCatalog.Catalog.Catalog.sortResults")
Catalog._orig_sortResults = Catalog.sortResults
Catalog.sortResults = Catalog_sortResults

# patch plone.restapi regexp to catch also other
utils.RESOLVEUID_RE = re.compile("^(?:|.*/)resolve[Uu]id/([^/]*)/?(.*)$")

0 comments on commit e6bb848

Please sign in to comment.