Open texnixe opened 4 years ago
Are there actual use cases where we would have different sort orders between different translations? Wondering if it should not be the default to only have it sortable in the default translation.
I don't know, maybe that should indeed be the default, however, I don't think we should completely prevent it. Because Kirby doesn't make too many assumptions..., does it?
My current approach would be to support queries for the sortable
option and make kirby.language.isDefault
the default value for it.
Currently, it is not easily possible to disable files section sorting in non-default languages. I can use a workaround by defining a sort field in a files blueprint like this:
However, this doesn't disable the sort handles and the default sort order is only restored after reloading the page in the Panel.
It would be great if the
sortable
property could be set conditionally:This should disable the sort handles in the non-default languages.