Page Properties Report not sorting first item in list; first item "sticky"
Asked by Michelle Rau HP:

Recently I have had two different Page Properties Reports, calling from two different sets of pages, that don't sort properly. In each case, the first item in the list is "sticky" and stays in position even if the other column headings can be clicked on to sort the other items.

Each PPR specifies an initial sort by one of the columns. Then after the table generates, the user should be able to click on the column headings and sort by a different column. Here, they sort except for the first item in the list, which stays put.

At first I thought that page was damaged, so I rebuilt the PP macro on that page. But now the same thing is happening on a different set of pages. Has anyone seen this, or have any ideas on how to fix it?


Answers:
author: Brant Schroeder
body: [@Michelle Rau HP](/t5/user/viewprofilepage/user-id/1142241)

Are you still having this issue? Can you share a screenshot?

comments: author: Sebastian Spitzer
body: Hello [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) \& [@Michelle Rau HP](/t5/user/viewprofilepage/user-id/1142241) ,

we still have the problem, despite the update to Confluence version 7.13.1.

In addition, since the update we also have a completely different problem with the "Page property report" macro, that the columns in the "Page property report" can no longer be sorted for some users. More on this in the separate community article "[Sorting of columns in the" Page property report "macro no longer works for individual users](https://community.atlassian.com/t5/Confluence-questions/Sorting-of-columns-in-the-quot-Page-property-report-quot-macro/qaq-p/1878629)".

But now, here are 2 screenshots of the problem described here, which show and confirm that the error is still up-to-date beyond the person reporting the problem:

**Sorting in ascending order**

![Page property report - sorting ascending.png](https://community.atlassian.com/t5/image/serverpage/image-id/172267i341568314B686566/image-size/large?v=v2&px=999 "Page property report - sorting ascending.png")

<br />

**Sorting in descending order**

![Page property report - sorting descending.png](https://community.atlassian.com/t5/image/serverpage/image-id/172268i26C112ED19AF0068/image-size/large?v=v2&px=999 "Page property report - sorting descending.png")

<br />

<br />


author: Brant Schroeder
body: [@Sebastian Spitzer](/t5/user/viewprofilepage/user-id/2135003) I have created multiple test pages and have not been able to recreate the issue. Can you check and make sure that the page does not have any odd characters in the workshop field by renaming it to see if that rectifies the issue.


author: Sebastian Spitzer
body: Hi [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) , would explain "workshop field", please?   
I can't think of anything by that right now. I don't understand what you mean by that. Would you briefly explain it, or even donate a screenshot?  
Thanks in advance!


author: Brant Schroeder
body: [@Sebastian Spitzer](/t5/user/viewprofilepage/user-id/2135003) The workshop field is in your page properties macro. I was going off of the screenshot you shared. I was suggesting that for the page with the Workshop: W17 CMS you change this or add something else there and see if that changes the sort. You could even remove the page properties on that page and see if all the other pages sort. I am wondering if it is something with that page.


author: Sebastian Spitzer
body: Ahh! Ok sorry I was already thinking about the properties and parameters of the macro. That it shows me workshop pages was out of my mind. ;-)

I tried the following:

1. Macro "Page Properties Report" removed from page "W17 CMS" (to the cache) and page saved.  
2. "Workshop-?bersicht" page (without 'W17 CMS') sorted in ascending order:   
   ![Workshop-?bersicht ohne 'W17 CMS' aufsteigend sortiert 2021-12-10.png](https://community.atlassian.com/t5/image/serverpage/image-id/173289i81E19E26E87218A5/image-size/large?v=v2&px=999 "Workshop-?bersicht ohne 'W17 CMS' aufsteigend sortiert 2021-12-10.png")  

   <br />

3. "Workshop-?bersicht" page (without 'W17 CMS') sorted in descending order:   
   ![Workshop-?bersicht ohne 'W17 CMS' absteigend sortiert 2021-12-10.png](https://community.atlassian.com/t5/image/serverpage/image-id/173290i4B17B62ECE3EC986/image-size/large?v=v2&px=999 "Workshop-?bersicht ohne 'W17 CMS' absteigend sortiert 2021-12-10.png")  

   **The problem is no longer reproducible!**   
4. Macro "Page properties report" of page "W17 CMS" inserted from the clipboard again and page saved.  

   **The problem described above is reproducible again!**   
5. Properties checked by the Page Properties Report macro. "Sort by" parameter checked.  

   "Page properties report" macro - "**Sort by** " parameter is equal to "**Termin** " table column:   
   ![Makro 'Seiteneigenschaftenbericht' - Parameter 'Sortieren nach' ist gleich Tabellenspalte 'Termin'.png](https://community.atlassian.com/t5/image/serverpage/image-id/173294iED9D5F8BF449D037/image-size/large?v=v2&px=999 "Makro 'Seiteneigenschaftenbericht' - Parameter 'Sortieren nach' ist gleich Tabellenspalte 'Termin'.png")  
6. Page properties report macro - "**Sort by** " parameter changed to "**\<empty\>** " and saved:   
   ![Makro 'Seiteneigenschaftenbericht' - Parameter 'Sortieren nach' ge?ndert auf 'empty'.png](https://community.atlassian.com/t5/image/serverpage/image-id/173295i310EC8D016753AF3/image-size/large?v=v2&px=999 "Makro 'Seiteneigenschaftenbericht' - Parameter 'Sortieren nach' ge?ndert auf 'empty'.png")  
7. "Workshop-?bersicht" page (with 'W17 CMS') sorted in ascending order in the "Workshop" column.  
   "Workshop-?bersicht" page (with 'W17 CMS') in the "Workshop" column then sorted in descending order.   

   **The problem is no longer reproducible!**
8. "Workshop-?bersicht" page (with 'W17 CMS') sorted in ascending order in the "**Termin** " column:   
   !['Workshop-?bersicht' nach 'Termin' aufsteigend sortiert.png](https://community.atlassian.com/t5/image/serverpage/image-id/173298iDFC0BF2555688169/image-size/large?v=v2&px=999 "'Workshop-?bersicht' nach 'Termin' aufsteigend sortiert.png")  

   "Workshop-?bersicht" page (with 'W17 CMS') in column "**Termin** " then sorted in descending order.  
   **!['Workshop-?bersicht' nach 'Termin' absteigend sortiert.png](https://community.atlassian.com/t5/image/serverpage/image-id/173299iBDBE923E0C1B33C0/image-size/large?v=v2&px=999 "'Workshop-?bersicht' nach 'Termin' absteigend sortiert.png")
   The sorting is ++implausible++ , it ++is not chronological++!**

++Problems identified++:

1. Although an attempt is made to sort by column "Workshop" in read mode, the "Sort by" parameter dominates in the properties of the macro.  
   (This describes the real Issue in this post)
2. The sorting of a macro "Page properties report" according to a column with the macro "Date" ('// dd-mm-yyyy') as content is incorrect or at least problematic.

What would the solution to this be?


Tags: confluence-server

page-property

server