add the function in globs for league search result