[IMP] remove useless code
the 'first' attribute is not used anymore
This commit is contained in:
parent
2c43d60518
commit
cde4ad1159
|
@ -513,12 +513,6 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
|
|||
.value()).then(function () {
|
||||
resp(_(arguments).chain()
|
||||
.compact()
|
||||
.map(function (completion) {
|
||||
if (completion.length && completion[0].facet !== undefined) {
|
||||
completion[0].first = true;
|
||||
}
|
||||
return completion;
|
||||
})
|
||||
.flatten(true)
|
||||
.value());
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue