update the list of search results
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2018 05:51 AM
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 REPLIES 0
