When inserting a link after selecting text in the page, the Entity Select interface no longer automatically performs the search #4409

Closed
opened 2026-02-05 08:49:34 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @melat0nin on GitHub (Jan 16, 2024).

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

  1. Edit a page
  2. Select some text
  3. Click the Insert link button
  4. Click the URL button
  5. Observe that the search term field is prepopulated, but the results have not been filtered according to the value of that field.
  6. Running the search requires altering the search term, to trigger it.

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

Originally created by @melat0nin on GitHub (Jan 16, 2024). ### 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 1. Edit a page 2. Select some text 3. Click the Insert link button 4. Click the URL button 5. Observe that the search term field is prepopulated, but the results have not been filtered according to the value of that field. 6. Running the search requires altering the search term, to trigger it. ### 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
OVERLORD added the 🐛 Bug label 2026-02-05 08:49:35 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 23, 2024):

Thanks for reporting @melat0nin, can confirm this issue.
I've now addressed this in 69c8ff5c2d, and it will be part of the next patch release (v23.12.2)

@ssddanbrown commented on GitHub (Jan 23, 2024): 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)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4409