Skip to Content.
Sympa Menu

cat-users - Re: [[cat-users]] Ordering in profile selection

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

Re: [[cat-users]] Ordering in profile selection


Chronological Thread 
  • From: Daniele Albrizio <albrizio AT univ.trieste.it>
  • To: Stefan Winter <stefan.winter AT restena.lu>, "cat-users AT lists.geant.org" <cat-users AT lists.geant.org>
  • Subject: Re: [[cat-users]] Ordering in profile selection
  • Date: Mon, 7 Nov 2016 12:50:16 +0100
  • Organization: University of Trieste

On 07/11/2016 12:38, Stefan Winter wrote:
Am 07.11.2016 um 12:31 schrieb Daniele Albrizio:
I was wandering how to influuence the order multiple profiles get shown
in the "Select the user group" menu.

Are they ordered by profile ID? alfabetically? or what?

No particular order is enforced: they are displayed in the order SQL
gets them from the DB, and the query has no ordering clause:

SELECT profile_id FROM profile WHERE inst_id = X

If deterministic ordering is important, we can implement this as a feature.

Note that ordering based on the display name can have surprising results
due to multi-linguality; if the translations of profile names have
different lexicographical order they will be displayed differently
depending on the language the user has chosen.

The more deterministic order would be by profile_id.

Greetings,

Stefan Winter

Well, in some scenario, I'll prefer to orter them by most used profile (say: bigger user group) to less used one. Or make the Android profile show as first(-aid) since that strage very widespread OS breaks connectivity when I change my CA chain no matter how much time I plan in advance...

Using profile_id would make me insert profiles in CAT in the exact order I want them to show: which is tricky, but surely deterministic.

Well.... low priority.

--
Daniele ALBRIZIO -
albrizio AT univ.trieste.it
Tel. +39-040.558.3319
UNIVERSITY OF TRIESTE - Network Services
Unita' di Staff Reti di Ateneo
via Alfonso Valerio, 12 I-34127 Trieste, Italy



Archive powered by MHonArc 2.6.19.

Top of Page