Search in the Move modal results in error only when attempted from the book component page
Expected behaviour
Users should be able to move a chapter form the book component page
Current behaviour
When I try search in the move modal I get a console error Uncaught TypeError: f is not a function
.
Moving the same chapter works from the book manager page.
Steps to reproduce
- open a chapter (for example, here
- select 'move' for the the preview tab
- type some text in the search area
- nothing happenings, and and checking console shows error
Environment
Possible solution
QA Steps
[To be completed by Coko once dev is done]