Skip to content
Snippets Groups Projects
Commit aa433579968d authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[wip] es6 doesn't support multiple types anymore

parent 0d670a8ad890
No related branches found
No related tags found
No related merge requests found
...@@ -160,7 +160,6 @@ ...@@ -160,7 +160,6 @@
* use your own CWFacetedSearch class to modify fields * use your own CWFacetedSearch class to modify fields
and facets and facets
''' '''
indexable = indexable_types(self._cw.vreg.schema)
return CWFacetedSearch(query_string, return CWFacetedSearch(query_string,
facet_selections, facet_selections,
index=self._cw.vreg.config.get('index-name'), index=self._cw.vreg.config.get('index-name'),
...@@ -164,7 +163,7 @@ ...@@ -164,7 +163,7 @@
return CWFacetedSearch(query_string, return CWFacetedSearch(query_string,
facet_selections, facet_selections,
index=self._cw.vreg.config.get('index-name'), index=self._cw.vreg.config.get('index-name'),
doc_types=indexable, doc_types=['_doc'],
form=self._cw.form, form=self._cw.form,
**kwargs)[start:stop] **kwargs)[start:stop]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment