kolibri
kolibri copied to clipboard
searchTerm prop is undefined in lesson management search
Observed behavior
Seeing an error when searching. Occasionally this also seems to prevent the page from loading, but having trouble reproducing that.

Expected behavior
No prop validation errors
User-facing consequences
Occasionally might break search
Errors and logs

Steps to reproduce
search while creating a lesson or quiz
Context
0.14.0 beta 15
There is another bug, when you hit enter with the same search term. A redundant redirect happens.

The above pull request fixes that also.