<?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 Sorting and pagination issues in ADF in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37357#M15716</link>
    <description>&lt;P&gt;We have a primary folder where user uploads the documents, say for example we have four pages of documents, when user is uploading the file where the table has the sorting set on created date,&amp;nbsp;&lt;BR /&gt;But ADF is providing sorting in such a way that sorting is done only on the chuck of documents that are available on that page,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example: 1st page gives 25 documents (starting from Sep 15 to Sep 30), 2nd page which gives 25 documents does not start from Sep 30. It seems like for each click of page (items per page), it is fetching a separate set of documents from back end and performing sort on that new set.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 13:32:27 GMT</pubDate>
    <dc:creator>srikanth94</dc:creator>
    <dc:date>2020-01-28T13:32:27Z</dc:date>
    <item>
      <title>Sorting and pagination issues in ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37357#M15716</link>
      <description>&lt;P&gt;We have a primary folder where user uploads the documents, say for example we have four pages of documents, when user is uploading the file where the table has the sorting set on created date,&amp;nbsp;&lt;BR /&gt;But ADF is providing sorting in such a way that sorting is done only on the chuck of documents that are available on that page,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example: 1st page gives 25 documents (starting from Sep 15 to Sep 30), 2nd page which gives 25 documents does not start from Sep 30. It seems like for each click of page (items per page), it is fetching a separate set of documents from back end and performing sort on that new set.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 13:32:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37357#M15716</guid>
      <dc:creator>srikanth94</dc:creator>
      <dc:date>2020-01-28T13:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting and pagination issues in ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37358#M15717</link>
      <description>&lt;P&gt;Can you provide screenshots of Share and then of ADF of this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 13:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37358#M15717</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2020-01-29T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting and pagination issues in ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37359#M15718</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alfresco Share Page 1" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/62i00BF21596AD0C8CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alfresco Share Page 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alfresco Share Page 2" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/64i9A95B08CBF8E99ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alfresco Share Page 2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alfresco ADF Page 1" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/61i02A557CBA4C26B1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alfresco ADF Page 1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alfresco ADF Page 2" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/63iB60A6A68FB3AF3AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alfresco ADF Page 2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alfresco ADF Page 3" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/66iFDBEF10C875541CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alfresco ADF Page 3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Obersvations:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ADF sorting order [Oldest - Newest]&lt;/P&gt;&lt;P&gt;Page 1 :: Has the data that is sorted with modifiedAt from&lt;STRONG&gt; Nov 16th 2019 - 14 min ago&lt;/STRONG&gt;&lt;BR /&gt;Page 2 :: Has the data that is sorted with modifiedAt from &lt;STRONG&gt;Feb 24th 2011 - 9 min ago&lt;/STRONG&gt;&lt;BR /&gt;page 3 :: Has the data that is sorted with modifiedAt from &lt;STRONG&gt;16 min - 13 min ago&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Alfresco Share sordting [Oldest - Newest]&lt;/P&gt;&lt;P&gt;Page 1 :: Has the data that is sorted with modifiedAt &lt;STRONG&gt;9yrs Old(2011) - 20 min ago&lt;/STRONG&gt;&lt;BR /&gt;Page 2 :: Has the data that is sorted with modifiedAt &lt;STRONG&gt;20 min Old - 17 min ago&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please find the attached screenshots,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Versions used:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Alfresco Share :: &lt;STRONG&gt;5.2.0&lt;/STRONG&gt;&lt;BR /&gt;Alfresco ADF :: &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/67382"&gt;@alfresco&lt;/A&gt;/adf-content-services": "&lt;STRONG&gt;3.7.0&lt;/STRONG&gt;",&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When i click on ModifiedAt sorting [Oldest-Newest], i see the data is sorted only on the chuck of the data that is present on that particular page rather&lt;BR /&gt;than sorting complete data as of we see on Alfresco Share&lt;/P&gt;&lt;P&gt;When i click on Pagination, i see a REST call being called from ADF - Alfresco&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;http://localhost:4280/alfresco/api/-default-/public/alfresco/versions/1/nodes/a211774d-ba6d-4a35-b97f-dacfaac7bde3/children?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;skipCount=10&amp;amp;maxItems=10&amp;amp;include=path%2Cproperties%2CallowableOperations%2Cpermissions%2CaspectNames%2CisFavorite&amp;amp;includeSource=true&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This URL is not having OrderBy parameter which helps in getting the data in Ordered way as mentioned in&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;"A string to control the order of the entities returned in a list. You can use the orderBy parameter to sort the list by one or more fields."&lt;/P&gt;&lt;P&gt;Is there a soultion for providing OrderBy dynamically when modifiedAt or Size or any Other data column is clicked.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2020 04:38:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37359#M15718</guid>
      <dc:creator>srikanth94</dc:creator>
      <dc:date>2020-02-08T04:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting and pagination issues in ADF</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37360#M15719</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same problem. Any updates?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 12:44:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sorting-and-pagination-issues-in-adf/m-p/37360#M15719</guid>
      <dc:creator>dzider</dc:creator>
      <dc:date>2021-01-26T12:44:11Z</dc:date>
    </item>
  </channel>
</rss>

