There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8b20cc98-d877-459b-84d8-a3358fb86cf7 XWIKI-20650 Open

Impossible to switch back to 10 entries per page in LiveData after going to 15

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-c7933803-065e-48b8-a28f-247b844aa8f0 Simon Urli on 20/Jun/24 16:31
 

It's still a bug in 16.4.0 and it can be immediately be reproduced when going to the Sandbox page and opening the list of attachments.
The bug is in https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-16.4.0/xwiki-platform-core/xwiki-platform-livedata/xwiki-platform-livedata-webjar/src/main/vue/LivedataPagination.vue#L290-L293: we add in the set of page size the actual limit coming from the query. And as soon as we select another page size, the limit change in the query and the value disappear from the set of page sizes.