Search feature in assistant view unusable: Assistant view resets selected module upon search
The search feature in the assistant view is unusable. This is because the selected module resets upon searching.
To reproduce:
- Enter assistant view on course edition main page
- Click a module other than the one selected by default
- Enter a search term which should result in a hit
- Click search / press enter
- Observe that the first module is selected again (not finding any results)
- Clicking on another module clears the search
This happens because submitting the search does not pass the module id.
This is a form issue, entering a url with both the module parameter and a q parameter will yield the results as expected.