Fix random course catalog pagination - refs #7273
Revert "Temporarily remove courses catalog's random pick to avoid bug with pagination - refs #7273"

This reverts commit 2632e1db4db46417a067d2ed7b8514a0e9e161c2.

Conflicts:
	main/template/default/auth/courses_categories.php
Fix search course catalog pagination - refs #7273
Merge branch 'danbarretodev-7273' into 1.9.x