File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -254,12 +254,6 @@ function applySort(): void {
254254 return firstB - firstA;
255255 }
256256
257- case PLUGIN_SORTS.NAME_DESC.value: {
258- const titleA = a.querySelector(".name")!.textContent!.trim().toLowerCase();
259- const titleB = b.querySelector(".name")!.textContent!.trim().toLowerCase();
260- return titleB.localeCompare(titleA);
261- }
262-
263257 case PLUGIN_SORTS.NAME_ASC.value:
264258 default: {
265259 const titleA = a.querySelector(".name")!.textContent!.trim().toLowerCase();
Original file line number Diff line number Diff line change 11export const PLUGIN_SORTS = {
22 NAME_ASC : {
33 value : "name-asc" ,
4- label : "Name (A-Z)" ,
5- } ,
6- NAME_DESC : {
7- value : "name-desc" ,
8- label : "Name (Z-A)" ,
4+ label : "Name" ,
95 } ,
106 FIRST_RELEASE_DESC : {
117 value : "first-release-desc" ,
128 label : "Release Date" ,
139 } ,
1410 LATEST_RELEASE_DESC : {
1511 value : "latest-release-desc" ,
16- label : "Last Updated" ,
12+ label : "Updated Date " ,
1713 } ,
1814} as const ;
1915
You can’t perform that action at this time.
0 commit comments