diff --git a/src/redturtle/volto/restapi/services/querystringsearch/get.py b/src/redturtle/volto/restapi/services/querystringsearch/get.py index 4b83747..78f618f 100644 --- a/src/redturtle/volto/restapi/services/querystringsearch/get.py +++ b/src/redturtle/volto/restapi/services/querystringsearch/get.py @@ -118,7 +118,7 @@ def cleanup_query(self, query, b_size): if ( index == "path" and operation # noqa - == "plone.app.querystring.operation.string.absolutePath" + == "plone.app.querystring.operation.string.absolutePath" # noqa ): criteria_value = criteria.get("v", "").split("::") value = criteria_value[0] diff --git a/src/redturtle/volto/tests/test_querystringsearch.py b/src/redturtle/volto/tests/test_querystringsearch.py index 1d41af9..03ab0e0 100644 --- a/src/redturtle/volto/tests/test_querystringsearch.py +++ b/src/redturtle/volto/tests/test_querystringsearch.py @@ -7,9 +7,7 @@ from plone.restapi.testing import RelativeSession from redturtle.volto.testing import REDTURTLE_VOLTO_API_FUNCTIONAL_TESTING from transaction import commit -from urllib.parse import quote -import json import unittest