Merge branch 'filter-bar-fix-ie' into 'master'

Fixed the filter bar not working in IE

Closes #29742

See merge request !10149
This commit is contained in:
Filipa Lacerda 2017-03-23 14:15:34 +00:00
commit f74e9245cb
3 changed files with 6 additions and 2 deletions

View File

@ -384,7 +384,7 @@ import FilteredSearchContainer from './container';
paths.push(`search=${sanitized}`);
}
const parameterizedUrl = `?scope=all&utf8=&${paths.join('&')}`;
const parameterizedUrl = `?scope=all&utf8=%E2%9C%93&${paths.join('&')}`;
if (this.updateObject) {
this.updateObject(parameterizedUrl);

View File

@ -0,0 +1,4 @@
---
title: Fixed filtered search not working in IE
merge_request:
author:

View File

@ -58,7 +58,7 @@ const FilteredSearchSpecHelper = require('../helpers/filtered_search_spec_helper
});
describe('search', () => {
const defaultParams = '?scope=all&utf8=&state=opened';
const defaultParams = '?scope=all&utf8=%E2%9C%93&state=opened';
it('should search with a single word', (done) => {
input.value = 'searchTerm';