DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
703 stars 249 forks source link

Sort teams on clarification for by identifier. #2422

Open nickygerritsen opened 3 months ago

nickygerritsen commented 3 months ago

As requested by @baierjan.

nickygerritsen commented 3 months ago

The question is if we want this at all. Jan likes it, but does everyone?

eldering commented 3 months ago

The question is if we want this at all. Jan likes it, but does everyone?

I guess it depends, but I think the request makes sense: if you mainly reference teams by their IDs then it is really annoying to go through a list sorted by names.

But I also think we should be consistent: don't sort one list by ID and another by name. So maybe create a configuration setting that controls the (default) sorting attribute, both in such dropdown lists but also on pages. Then the question is: do we only apply that to teams or also affiliations, categories, problems, ...

nickygerritsen commented 3 months ago

The question is if we want this at all. Jan likes it, but does everyone?

I guess it depends, but I think the request makes sense: if you mainly reference teams by their IDs then it is really annoying to go through a list sorted by names.

But I also think we should be consistent: don't sort one list by ID and another by name. So maybe create a configuration setting that controls the (default) sorting attribute, both in such dropdown lists but also on pages. Then the question is: do we only apply that to teams or also affiliations, categories, problems, ...

I like this idea of having a global setting, but I'm not sure about sorting all entities.