In page attachments is it possible to set cards view to be default?

In my opinion if you have few files in attachments the cards view is more convenient (than table) when viewing on mobile.

So, is there possibilities to set it to be default view?

Hello,

According to the documentation, it should be possible by adding layouts=cards or layouts=cards,table to the macro parameters in attachments_macro.vm.

But, according to my initial tests, this is not working. I have created Loading... to track this issue.

Thanks for mentioning this @timonisula .

Loading... done. The fix will be available in XWiki 14.10.17, 15.5.3 and 15.8-rc-1.