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

Discussion in 'Sportsbook Closed Suggestions' started by SneakyDave, May 27, 2016.

  1. SneakyDave

    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.
  2. Bob

    Bob Developer Staff Member

    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?


    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.

    SneakyDave likes this.
  3. SneakyDave

    SneakyDave Member Sportsbook

    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
  4. Bob

    Bob Developer Staff Member

    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
  5. Bob

    Bob Developer Staff Member

    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).


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

    SneakyDave likes this.
  6. SneakyDave

    SneakyDave Member Sportsbook

    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.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.