• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Set default outcome sort order direction

SneakyDave

Member
Sportsbook
I like to see the events I create ordered by the way I enter them, usually from the low odds to the higher odds.

Currently, the only option to sort them in this order is by "Date created" or "Date Updated", but both of them sort ascending, so I'd like to add a DESC otion in the dropdown for both of those. That way, I won't have to enter the outcomes in backwards.

Add this, or I will sue.
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Currently, the only option to sort them in this order is by "Date created" or "Date Updated",

There are SEVEN Sort Order types and each of those types can be set as the Default Sort Order. It was done this way to be flexible.

Are you asking for the Date Created option in the Default Outcome Sort Order Type to have one Date Created - DESC and Date Created - ASC?


Selection_203.png




You can see that on the Frontend, users are able to sort them both ways (newest to oldest and oldest to newest) (that is, if you enable them). I made it so that USERS have the ability to sort in THEIR preferred way.

Selection_202.png
 
ok, great, I didn't notice that users could sort them however they wanted, that will work great. And yes, I was asking for both ASC and DESC, but that will work for the UI.Thanks
 
I was asking for both ASC and DESC, but that will work for the UI.Thanks
Just the create or the update as well? I can see a use for Create, however, the updated one seems weird that you'd want the oldest updated first as a default lol
 
Alright, I changed up a few things in the controller to allow for a Default Sort Order Direction to be set for the Default Sort Type. The only Sort Order type that is not effected by this is 'Outcome Pays' which is forced to be DESC.

I've added a new option that allows you to set the Default Outcome Sort Order Direction. This makes things even more flexible now, plus it doesn't effect the users ability on the frontend (it actually adds the ability to now sort titles DESC).

Selection_204.png


You can now sort Titles by both ASC and DESC (before, only ASC).

Selection_205.png
 
Yes, just on the create, I didn't explain myself well with that. The update is fine as it is. Thanks, that would work perfectly.
 
Back
Top