When editing a page, if some text is selected before clicking the insert link button, then the Entity Select button, the resulting search interface would be pre-populated with the selected text and the results would be pre-filtered.
Now, as of v23.12, the search field is prepopulated, but the search results are not (they show the default listing of shelves/books/pages). Performing the search requires editing the field to trigger the search.
Steps to Reproduce
Edit a page
Select some text
Click the Insert link button
Click the URL button
Observe that the search term field is prepopulated, but the results have not been filtered according to the value of that field.
Running the search requires altering the search term, to trigger it.
Thanks for reporting @melat0nin, can confirm this issue.
I've now addressed this in 69c8ff5c2d491d8674e2671a912a025cf16f86d3, and it will be part of the next patch release (v23.12.2)
Describe the Bug
When editing a page, if some text is selected before clicking the insert link button, then the Entity Select button, the resulting search interface would be pre-populated with the selected text and the results would be pre-filtered.
Now, as of v23.12, the search field is prepopulated, but the search results are not (they show the default listing of shelves/books/pages). Performing the search requires editing the field to trigger the search.
Steps to Reproduce
Expected Behaviour
The search should be performed immediately.
Screenshots or Additional Context
No response
Browser Details
Firefox 122 beta on Windows 11
Exact BookStack Version
23.12