update the list of search results

I need to manipulate the search results. I'm changing the widget nuxeo-results used in the widget nuxeo-default-search-results.

<nuxeo-results name="default" nx-provider="[[nxProvider]]" selected-items="{{selectedItems}}" display-mode="list">

the list of items is surely here

get items() {
if (this.view && this.view.items) {
return this.view.items;
}
// XXX: this.view.items is not working
return (this.view && this.view.$.list) ? this.view.$.list.items : [];
},

but if I try to change the elements, that's not impact immediately on the view. where I should put my code for change the list and refresh the view?

thanks a lot

Giuseppe

0 votes

0 answers

276 views

ANSWER