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: Stefan Winter <stefan.winter AT restena.lu>
  • To: Daniele Albrizio <albrizio AT univ.trieste.it>, "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:38:51 +0100
  • Openpgp: id=AD3091F3AB24E05F4F722C03C0DE6A358A39DC66; url=http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0DE6A358A39DC66

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


--
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
2, avenue de l'Université
L-4365 Esch-sur-Alzette

Tel: +352 424409 1
Fax: +352 422473

PGP key updated to 4096 Bit RSA - I will encrypt all mails if the
recipient's key is known to me

http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0DE6A358A39DC66

Attachment: 0x8A39DC66.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.19.

Top of Page