Skip to content

Fix custom ordering in metadata#1558

Open
Arnei wants to merge 1 commit intoopencast:r/19.xfrom
Arnei:custom-ordering-not-respected
Open

Fix custom ordering in metadata#1558
Arnei wants to merge 1 commit intoopencast:r/19.xfrom
Arnei:custom-ordering-not-respected

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Apr 2, 2026

Fixes #1480.

Standard ordering for metadata dropdowns is alphabetical. However, there can also be a custom order provided. At some point we stopped respecting the custom order, this patch fixes that.

How to test this

The licenses metadata field has a custom ordering per default in the community metadata catalog, so checking if the order changed makes for a quick and easy check if this works.

Originally #1532.

Standard ordering for metadata dropdowns is alphabetically.
However, there can also be a custom order provided.
At some point we stopped respecting the custom order,
this patch fixes that.
@Arnei Arnei added the type:bug Something isn't working label Apr 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/admin-interface:pr-1558

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/admin-interface:pr-1558

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

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.

1 participant