Files section: manual sort appears to save in secondary language, but doesn’t persist

Kirby version: 5.4.4
Setup: bilingual site with a files section (manual sorting enabled)

When I change the order of files in a files section while editing in a secondary language, the Panel behaves as if the change was saved:

  • The section immediately shows the new order.
  • The new order is still shown after switching back to the default language.
  • I get a success notification (bottom right).

The Panel-UI suggests a successful save, but in fact this is not the case: checking the .txt of the files in question, the Sort: key remains unchanged. In effect, the change is lost on Panel reload (and of course doesn’t show on the actual website).

This is confusing for editors, because the UI suggests a successful save; especially since other editorial changes in secondary languages work as expected.

Expected behaviour would be either:

  • The new sort order should be saved in secondary languages, too (file order is shared across languages anyway)
  • or sorting should not be possible in secondary languages (with clear feedback that it only works in the default language).

Is there any option I can set in the blueprints?

None that I’m aware of.

There is no extra sorting per language, that’s why the sorting is only stored in the default language. But I would have expected that if you sort in a secondary language, that in this particular case the default language sorting should be updated, or sorting prevented, right.

That’s right, but neither is the case. The sorting isn’t updated when it’s changed in the secondary language—but the UI suggests that it has been changed. I think it’s more of an UX issue then, right?

Sounds like a bug, sorting should in that case be disabled in the secondary languages.

I’ll file an issue on GitHub then.

Update: Files section: manual sort appears to save in secondary language, but doesn’t persist · Issue #8212 · getkirby/kirby · GitHub