diff --git a/src/components/Views/ElasticSearchHighlights.jsx b/src/components/Views/ElasticSearchHighlights.jsx index e4c14ca7..417555de 100644 --- a/src/components/Views/ElasticSearchHighlights.jsx +++ b/src/components/Views/ElasticSearchHighlights.jsx @@ -103,7 +103,6 @@ export const getMatches = (highlight) => { matches = matches.concat(fragmentmatches.map((match) => match[1])); }); matches = [...new Set(matches)]; - console.debug('getMatches', matches); return matches; }; diff --git a/src/components/Views/TestSearchkitQuerystrings.jsx b/src/components/Views/TestSearchkitQuerystrings.jsx index 5d435df2..e2effded 100644 --- a/src/components/Views/TestSearchkitQuerystrings.jsx +++ b/src/components/Views/TestSearchkitQuerystrings.jsx @@ -85,7 +85,6 @@ const OnHighlights = withState(_OnHighlights); const OnResults = withState(ResultsMultiLayout); const CustomResultsListItem = ({ result, index }) => { - console.debug('** result.title', result.title); return (
@@ -121,13 +120,15 @@ const TestSearchkitQuerystrings = (props) => { // reviewstatemapping: { // Manual: ['internally_published', 'private', 'internal'], // }, - simpleFields: config.settings.searchkitblock.simpleFields, + + simpleFields: [], + nestedFilterFields: [], + allowed_content_types: searchkitblock_controlpanel?.allowed_content_types, + allowed_review_states: searchkitblock_controlpanel?.allowed_review_states, backend_url: searchkitblock_controlpanel?.testsearch_backend, frontend_url: searchkitblock_controlpanel?.testsearch_frontend, } : {}; - console.debug('TestSearchkitQuerystrings. searchconfig', searchconfig); - console.debug('searchkitblock_controlpanel', searchkitblock_controlpanel); const initialState = { sortBy: 'bestmatch',