<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Order in SearchResultsPortlet in Liferay 7.2</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118673358" />
  <subtitle>Order in SearchResultsPortlet in Liferay 7.2</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118673358</id>
  <updated>2026-04-06T17:08:22Z</updated>
  <dc:date>2026-04-06T17:08:22Z</dc:date>
  <entry>
    <title>RE: Order in SearchResultsPortlet in Liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120561527" />
    <author>
      <name>Chanakya P</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120561527</id>
    <updated>2023-01-24T06:25:47Z</updated>
    <published>2021-01-26T15:59:31Z</published>
    <summary type="html">&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;I also need same solution in Liferay 7.0 version.&lt;/p&gt;
&lt;p&gt;In Liferay 7 there is no sortportlet.&lt;/p&gt;
&lt;p&gt;I need to display results in a inverse order, the last
  created document should appear in the first place.&lt;/p&gt;
&lt;p&gt;how to achieve in  Liferay 7.0 version.&lt;/p&gt;</summary>
    <dc:creator>Chanakya P</dc:creator>
    <dc:date>2021-01-26T15:59:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Order in SearchResultsPortlet in Liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119236037" />
    <author>
      <name>Iñigo Boyano</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119236037</id>
    <updated>2020-05-26T10:49:29Z</updated>
    <published>2020-05-26T10:49:29Z</published>
    <summary type="html">Any other solution for this problem?&lt;br /&gt;I have seen that  SortPortlet put the following parameter &amp;#34;sort=createDate-&amp;#34; in the URL to sort the results, but i need those results are shown sorted in the render of the page.It is possible to set this parameter in the page render, before the page was loaded?&lt;br /&gt;Kind regards, </summary>
    <dc:creator>Iñigo Boyano</dc:creator>
    <dc:date>2020-05-26T10:49:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Order in SearchResultsPortlet in Liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118681075" />
    <author>
      <name>Iñigo Boyano</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118681075</id>
    <updated>2020-03-06T13:06:36Z</updated>
    <published>2020-03-06T13:06:36Z</published>
    <summary type="html">Hi Mohammed, &lt;br /&gt;Thanks for your answer.&lt;br /&gt;This portlet sort my results, but, it is possible to show the results sorted when the page is loaded?.&lt;br /&gt;Although i configure the field created in the first place of the portlet, the results are shown unsorted.&lt;br /&gt;Thanks</summary>
    <dc:creator>Iñigo Boyano</dc:creator>
    <dc:date>2020-03-06T13:06:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Order in SearchResultsPortlet in Liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118679933" />
    <author>
      <name>Mohammed Yasin</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118679933</id>
    <updated>2020-03-06T12:00:09Z</updated>
    <published>2020-03-06T12:00:09Z</published>
    <summary type="html">Hi ,&lt;br /&gt;There is Sort Portlet for Search which can be used for sorting the result you can refer below&lt;br /&gt;&lt;a href="https://portal.liferay.dev/docs/7-2/user/-/knowledge_base/u/sorting-search-results-with-the-sort-widget"&gt;https://portal.liferay.dev/docs/7-2/user/-/knowledge_base/u/sorting-search-results-with-the-sort-widget&lt;/a&gt;</summary>
    <dc:creator>Mohammed Yasin</dc:creator>
    <dc:date>2020-03-06T12:00:09Z</dc:date>
  </entry>
  <entry>
    <title>Order in SearchResultsPortlet in Liferay 7.2</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118673357" />
    <author>
      <name>Iñigo Boyano</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118673357</id>
    <updated>2020-03-06T08:04:19Z</updated>
    <published>2020-03-06T08:04:19Z</published>
    <summary type="html">Hi, &lt;br /&gt;By default i&amp;#39;ve seen that the &lt;strong&gt;&lt;strong&gt;SearchResultsPortlet &lt;/strong&gt;&lt;/strong&gt;shows the results in created Date ascending order, the first JournalArticle created is the first content shown.&lt;br /&gt;I need to display those results in a inverse order, the last journalArticles created have to appear in the first place.&lt;br /&gt;I&amp;#39;ve searched above for the configuration of the portlet and i didn´t see something to change the order in which the results are shown.Is there any configuration to setup the journalArticle order in that portlet or in other case i have to develop and extension of the core?&lt;br /&gt;&lt;br /&gt;Kind regards, &lt;br /&gt;&lt;br /&gt;Iñigo</summary>
    <dc:creator>Iñigo Boyano</dc:creator>
    <dc:date>2020-03-06T08:04:19Z</dc:date>
  </entry>
</feed>
