Skip to content

Respect custom ordering in metadata#1665

Merged
gregorydlogan merged 1 commit intoopencast:r/19.xfrom
Arnei:metadata-custom-ordering
Feb 3, 2026
Merged

Respect custom ordering in metadata#1665
gregorydlogan merged 1 commit intoopencast:r/19.xfrom
Arnei:metadata-custom-ordering

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Jan 28, 2026

Fixes #1597.

Metadata fields with options (e.g. licenses) can have a custom order specified for their options. The editor did not respect that custom order, but always sorted alphabetically. With this patch, custom orders should be respected.

How to test this

You'll want to be able to add/change a custom order to/of a metadata field in the Opencast backend. One easy way of doing so is modifying the listprovider file for the licenses: licenses.properties

Metadata fields with options (e.g. licenses) can have a custom
order specified for their options. The editor did not respect
that custom order, but always sorted alphabetically.
With this patch, custom orders should be respected.
@Arnei Arnei added the type:bug Something isn't working label Jan 28, 2026
@github-actions
Copy link
Copy Markdown

This pull request is deployed at test.editor.opencast.org/1665/2026-01-28_14-36-10/ .
It might take a few minutes for it to become available.

@gregorydlogan gregorydlogan self-assigned this Feb 3, 2026
@gregorydlogan gregorydlogan merged commit c6ec254 into opencast:r/19.x Feb 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants