Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Nov 16, 2022
1 parent 8c147a0 commit 9ef0000
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion src/components/Searchkit/CustomESRequestSerializer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class CustomESRequestSerializer {
return;
}

// TODO Words with hyphen
// Words with hyphen
let word_new;
let wordpartlist = word.split('-'); // common hyphens
if (wordpartlist.length > 1) {
Expand Down
14 changes: 0 additions & 14 deletions src/components/Searchkit/CustomESResponseSerializer.jsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
// TODO add data of .title to serialized response
// aggregations.organisationunit_agg.organisationunit_token.buckets[1].somemoredatafromelasticsearch.hits.hits[0]._source.title

import { forEach, has } from 'lodash';
import {
addAppURL,
isInternalURL,
flattenToAppURL,
expandToBackendURL,
getAuthToken,
} from '@plone/volto/helpers';

import { flattenESUrlToPath } from '../helpers';

import config from '@plone/volto/registry';

function _pimpedAggregations(aggregations) {
let result = Object.assign({}, aggregations);
Expand Down
1 change: 0 additions & 1 deletion src/components/Views/FacetedSearch.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// TODO update counts of BucketAggregation on selection of filter
// TODO lacales actionProps, placeholder
import React from 'react';
import { useSelector } from 'react-redux';
Expand Down

0 comments on commit 9ef0000

Please sign in to comment.