plone / plone.restapi

RESTful API for Plone.
http://plonerestapi.readthedocs.org/
85 stars 76 forks source link

autoform directives.order not working anymore #1230

Open cekk opened 3 years ago

cekk commented 3 years ago

I've found that changes made here have a side effect: custom fields sorting are not working retrieving types schema.

How to reproduce:

If you call @types/MyType restapi endpoint, image_caption is after my_field. If you go in edit from Plone classic interface, image_caption is before my_field.

Removing ignorePrefix=True seems fixing this issue but reverts the old one.

@avoinea any ideas?

adrianschulz commented 3 months ago

Still an issue today. Encountered it some weeks ago. See https://community.plone.org/t/how-to-order-the-fields-in-volto/19587