videoP / jaPRO

Community effort to maintain and improve Jedi Academy + Jedi Outcast released by Raven Software
GNU General Public License v2.0
12 stars 6 forks source link

rtop partial match should work better #11

Open videoP opened 6 years ago

videoP commented 6 years ago

if coursename is a "full" match to something it shouldn't return a partial match

instead of sorting by entries, sort by coursename length then entries? maybe ignore length of the mapname ?

sort by length of mapname excluding anything before '(', and '(' and ')' themselves

would this require coursenames to be unique?

videoP commented 6 years ago

maybe something like SELECT DISTINCT replace(coursename, "%(", "")

but replace doesn't accept % as a wildcard so that wont work

videoP commented 5 years ago