<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic update the list of search results in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/update-the-list-of-search-results/m-p/321250#M8251</link>
    <description>&lt;P&gt;I need to manipulate the search results.
I'm changing the widget nuxeo-results
used in the widget nuxeo-default-search-results.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;nuxeo-results name="default" nx-provider="[[nxProvider]]" selected-items="{{selectedItems}}" display-mode="list"&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the list of items is surely here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;get items() {
if (this.view &amp;amp;&amp;amp; this.view.items) {
return this.view.items;
}
// XXX: this.view.items is not working
return (this.view &amp;amp;&amp;amp; this.view.$.list) ? this.view.$.list.items : [];
},

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;thanks a lot&lt;/P&gt;
&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2018 10:51:16 GMT</pubDate>
    <dc:creator>Giuseppe_Filome</dc:creator>
    <dc:date>2018-02-02T10:51:16Z</dc:date>
    <item>
      <title>update the list of search results</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/update-the-list-of-search-results/m-p/321250#M8251</link>
      <description>&lt;P&gt;I need to manipulate the search results.
I'm changing the widget nuxeo-results
used in the widget nuxeo-default-search-results.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;nuxeo-results name="default" nx-provider="[[nxProvider]]" selected-items="{{selectedItems}}" display-mode="list"&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the list of items is surely here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;get items() {
if (this.view &amp;amp;&amp;amp; this.view.items) {
return this.view.items;
}
// XXX: this.view.items is not working
return (this.view &amp;amp;&amp;amp; this.view.$.list) ? this.view.$.list.items : [];
},

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;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?&lt;/P&gt;
&lt;P&gt;thanks a lot&lt;/P&gt;
&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 10:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/update-the-list-of-search-results/m-p/321250#M8251</guid>
      <dc:creator>Giuseppe_Filome</dc:creator>
      <dc:date>2018-02-02T10:51:16Z</dc:date>
    </item>
  </channel>
</rss>

