Fixed search object issue when the object name contains special characters. Fixes #5401

This commit is contained in:
Aditya Toshniwal
2020-04-20 18:40:40 +05:30
committed by Akshay Joshi
parent 7361470b64
commit dc4571a3c8
4 changed files with 15 additions and 3 deletions

View File

@@ -428,6 +428,7 @@ describe('SearchObjectsDialogWrapper', () => {
type_label: 'Some types coll',
path: ':some.123:/path',
show_node: true,
other_info: null,
});
expect(data).toEqual({
id: 'obj1/123.obj2/432',
@@ -438,6 +439,7 @@ describe('SearchObjectsDialogWrapper', () => {
path: 'disp/path',
id_path: ['obj1/123', 'obj2/432'],
show_node: true,
other_info: null,
});
});