MDL-62707 search: account for no matching courses when listing areas.
authorPaul Holden <paulh@moodle.com>
Tue, 4 Feb 2020 08:19:02 +0000 (08:19 +0000)
committerPaul Holden <paulh@moodle.com>
Fri, 4 Dec 2020 09:43:17 +0000 (09:43 +0000)
commitc24a16a81943b3b245aea3f6e09e5e1dd18d56e5
tree338f0e9f1080edfcd28dd2a302588f5957d47375
parent32866a1758e4aeee9a04207e480dbc91a4a828be
MDL-62707 search: account for no matching courses when listing areas.

When limiting the list of courses during retrieval of the search areas
the user can access, make sure we have some contexts before looking
for blocks.
search/classes/manager.php
search/tests/manager_test.php