Skip to content

Fix custom ordering in metadata#1532

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

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

Conversation

@Arnei
Copy link
Member

@Arnei Arnei commented Mar 18, 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.

@Arnei Arnei added the type:bug Something isn't working label Mar 18, 2026
@github-actions
Copy link
Contributor

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/opencast-admin-interface:pr-1532

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/opencast-admin-interface:pr-1532

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.

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 force-pushed the custom-ordering-not-respected branch from 70d242f to 5eab0b7 Compare March 18, 2026 16:03
@github-actions
Copy link
Contributor

This pull request is deployed at test.admin-interface.opencast.org/1532/2026-03-18_16-08-16/ .
It might take a few minutes for it to become available.

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