search feature failing with two or more organisations in 'ckan_organizations' filter
Created by: mkazmiers
We're currently testing the latest build (#59). An error occurs when setting two or more organisations in the 'ckan_organizations' filter. An example here :
var config = {
ckan_api: 'https://trouver.datasud.fr/',
ckan_organizations: ['communaute-dagglomeration-ventoux-comtat-venaissin','commune-de-carpentras'],
// ckan_groups: ['group1'],
// ckan_tags: ['tag1'],
// ckan_facets: {
// res_format: 'HTML',
// datatype: 'type'
// },
facet_display: ['organization'],
data_sort: 'title_string asc',
result_page_size: 25,
thumbnails_display: true,
display_header: true,
display_sidebar: true
}
When researching 'wi-fi' in the top search bar, results are obtained from non-expected organisations (e.g 'ville-marseille' and 'ville-digne-les-bains'), as if filters are forgotten in the search.
This doesn't occur when a single organisation is set, for instance 'commune-de-carpentras'. We get only the result from the one organisation. Same behavior is expected with two or more :-)