Displaying sport type on guardian list
-
- Posts: 5
- Joined: Thu Dec 19, 2024 9:06 pm
Is there a way of getting a custom column to display the markets’ sport ie. soccer, racing, basketball etc to allow sorting based on sport please? Thank you!
- jamesedwards
- Posts: 3933
- Joined: Wed Nov 21, 2018 6:16 pm
Depending on your list of sports there might be a way to do it using a mix of text conditions and stored values.marcknight64 wrote: ↑Thu Jan 30, 2025 5:08 pmIs there a way of getting a custom column to display the markets’ sport ie. soccer, racing, basketball etc to allow sorting based on sport please? Thank you!
eg you could identify horse racing and greyhound racing using a 'distance' condition and whether it is set to go in-play or not. Football/basketball by testing markets that have " v " in the market name, and whether or not there is a 'moneyline' market, or testing against a list of competitions.
There's probably a way to identify all sports separately in different ways, but it might get complicated.
-
- Posts: 5
- Joined: Thu Dec 19, 2024 9:06 pm
Thank you very much, I appreciate it.
I already tried the distance for racing and that works, but it never occurred to me to find unique aspect in the markets of the others, that’s a great idea, thank you!
I already tried the distance for racing and that works, but it never occurred to me to find unique aspect in the markets of the others, that’s a great idea, thank you!
There some examples here which might help get you started which you can tweak
viewforum.php?f=68
viewforum.php?f=68