Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new TAGLIST_ORDER option #307

Merged
merged 11 commits into from May 19, 2023
Merged

add new TAGLIST_ORDER option #307

merged 11 commits into from May 19, 2023

Conversation

Joxit
Copy link
Owner

@Joxit Joxit commented May 14, 2023

Create new option named TAGLIST_ORDER that will order tags using user defined configuration.

Available values are:

value description
num-asc;alpha-asc Numbers come first in ascending order then alphabet in ascending order
num-desc;alpha-asc Numbers come first in descending order then alphabet in ascending order
num-asc;alpha-desc Numbers come first in ascending order then alphabet in descending order
num-desc;alpha-desc Numbers come first in descending order then alphabet in descending order
alpha-asc;num-asc Alphabet come first in ascending order then numbers in ascending order
alpha-asc;num-desc (default) Alphabet come first in ascending order then numbers in descending order
alpha-desc;num-asc Alphabet come first in descending order then numbers in ascending order
alpha-desc;num-desc Alphabet come first in descending order then numbers in descending order

Some examples in test/taglist-order.test.js

closes #294

@Joxit Joxit added this to the 2.5.0 milestone May 14, 2023
@Joxit Joxit added this to To do in docker-registry-ui via automation May 14, 2023
@Joxit Joxit merged commit d2222be into main May 19, 2023
docker-registry-ui automation moved this from To do to Done May 19, 2023
@Joxit Joxit deleted the feat/taglist-order branch May 19, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Reverse default sort order of images tags
1 participant