Closed justinkb closed 5 years ago
Completely forgot that it's used in sort by time too. Fixed it a bit differently directly at the source so it doesn't happen again. Guess they changed the world boss quests to return nil to fix their own UI showing "expires soon" icon on the map incorrectly..
Thanks for the report and PR anyway! Greatly appreciated.
Interesting, I had no idea you could do "or 0" in lua, that's some nice syntactic sugar
It's basically an inline if, yes. Also works with multiple branches, for example local largerNumber = a > b and a or b
. Very handy 👍
With the latest patch, your addon still produced LUA errors because of WQs with no expiration date (like Ivus in Darkshore)
This fixes that issue