kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

searchTerm prop is undefined in lesson management search

Open indirectlylit opened this issue 6 years ago • 1 comments

Observed behavior

Seeing an error when searching. Occasionally this also seems to prevent the page from loading, but having trouble reproducing that.

2020-08-04 15 23 47

Expected behavior

No prop validation errors

User-facing consequences

Occasionally might break search

Errors and logs

image

Steps to reproduce

search while creating a lesson or quiz

Context

0.14.0 beta 15

indirectlylit avatar Aug 04 '20 22:08 indirectlylit

There is another bug, when you hit enter with the same search term. A redundant redirect happens.

simplescreenrecorder

The above pull request fixes that also.

alexMet avatar Oct 10 '20 13:10 alexMet