[IMP] remove useless code

the 'first' attribute is not used anymore
This commit is contained in:
Géry Debongnie 2014-06-30 14:58:12 +02:00
parent 2c43d60518
commit cde4ad1159
1 changed files with 0 additions and 6 deletions

View File

@ -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());
});