feat(taglist-order): change default value to alpha-asc;num-desc

This commit is contained in:
Joxit
2023-05-16 06:28:35 +02:00
parent 8bbfc5c390
commit 78606e07f1
3 changed files with 10 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ export const taglistOrderVariants = (taglistOrder) => {
return `${taglistOrder};${taglistOrder.startsWith('num') ? 'alpha' : 'num'}-asc`;
default:
if (!taglistOrder) {
return 'num-asc;alpha-asc';
return 'alpha-asc;num-desc';
} else if (TAGLIST_ORDER_REGEX.test(taglistOrder)) {
return taglistOrder;
}