Please sign in to comment.
Close Bug #5670 - get_courses_page() - remove costly and redundant DI…
…STINCT get_courses_page() uses get_records_sql() which means that it will actually break if the first field requested isn't c.id. This in turn means that the DISTINCT is not needed at all. So let's go fast again!
- Loading branch information...