Only override title when needed for courses view.
Merge pull request #6757 from openscholar/2024-fix

Only override title when needed for courses view.