• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Quick clarification please - Display Styling Priority - sorted ASC or DESC?

Stuart Wright

Well-known member
#1
I get the Display Styling Priority. It's a sort order field for deciding which title to use for members in multiple secondary usergroups. Typically the sort order is decided on the ASC value. I.e. an item with value 10 will get displayed in preference to an item with value 20 and my coding background makes me think of it naturally in this way.
But the description for the field in the usergroup edit page reads
If a user is in multiple user groups, their user title and user name CSS will come from the group with the highest display styling priority.
Which definitely implies it's sorted DESC. I.e. the highest numeric value will be used.
Can someone please clarify which it is? I suspect it's the latter.
 
Last edited:

Stuart Wright

Well-known member
#3
Thanks. I ask because I've seen the wrong titles displayed when I change the usergroup Display Styling Priority. Could just be a cache thing.