Asset Pane: Blocks lose name sorting when more than 200 in same Content Folder

Vote:
 

It seems that when there are more than 200 blocks in a Content Assets folder they lose their alphabetical sorting in the Blocks gadget.

This was first discovered by our editors when trying to add Contact Blocks. These were all in same Content Asset folder. With more than 200 blocks and no sorting they were having a tough time finding the right block.

I have since reproduced it on Alloy demo site (EPiServer.CMS.Core 11.15.1, EPiServer.CMS.UI.Core 11.25.0).

By mutliplying the blocks under the Events Assets folder so that they reached 256 blocks the alphabetical sorting stops working.
The underlying cause seems to be that they stop being delivered in order from the contentstructure store. (http://localhost:64563/EPiServer/cms/Stores/contentstructure/?references=69&query=getpagedchildren&allLanguages=true&typeIdentifiers=episerver.core.blockdata&sort(+name)&dojo.preventCache=1624452789883)

It also seems to be related to the Range header in the request, since reproducing the request in Postman and then stripping the Range header results in a response with items in correct order.

#256992
Jun 23, 2021 13:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.