Issue with search bar displaying random results #5388

Open
opened 2026-02-05 10:01:46 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @serinf-lauza on GitHub (Aug 5, 2025).

Describe the Bug

Almost every time my team and I search for a specific word to locate our document, the search bar initially displays the correct results as expected. However, after a brief moment, the results switch to unrelated random pages. If I press Enter, I can see the original correct results again.

Steps to Reproduce

  1. Search a word in search bar
  2. Wait for first results, than wait another 2 seconds

Expected Behaviour

The search bar should consistently display the initial relevant results containing the searched word, rather than switching to unrelated pages afterward.

Screenshots or Additional Context

Here's the video of the problem, we've been having this issue for at least 3 months.
https://github.com/user-attachments/assets/b3c4e429-97e1-40f5-a6c4-0272fa253e85

Browser Details

Chrome also tried FireFox, same problem

Exact BookStack Version

25.07

Originally created by @serinf-lauza on GitHub (Aug 5, 2025). ### Describe the Bug Almost every time my team and I search for a specific word to locate our document, the search bar initially displays the correct results as expected. However, after a brief moment, the results switch to unrelated random pages. If I press Enter, I can see the original correct results again. ### Steps to Reproduce 1. Search a word in search bar 2. Wait for first results, than wait another 2 seconds ### Expected Behaviour The search bar should consistently display the initial relevant results containing the searched word, rather than switching to unrelated pages afterward. ### Screenshots or Additional Context Here's the video of the problem, we've been having this issue for at least 3 months. https://github.com/user-attachments/assets/b3c4e429-97e1-40f5-a6c4-0272fa253e85 ### Browser Details Chrome also tried FireFox, same problem ### Exact BookStack Version 25.07
OVERLORD added the 🐛 Bug label 2026-02-05 10:01:46 +03:00
Author
Owner

@thalion0 commented on GitHub (Aug 6, 2025):

Strange. I does not see any issue for myself. How many books/pages your instance is containing?

@thalion0 commented on GitHub (Aug 6, 2025): Strange. I does not see any issue for myself. How many books/pages your instance is containing?
Author
Owner

@ssddanbrown commented on GitHub (Aug 6, 2025):

Hi @serinf-lauza,
Do you find that this is reproducible on the demo site?

@ssddanbrown commented on GitHub (Aug 6, 2025): Hi @serinf-lauza, Do you find that this is reproducible on [the demo site](https://demo.bookstackapp.com/)?
Author
Owner

@serinf-lauza commented on GitHub (Aug 6, 2025):

Hi! My Bookstack contains 2966 pages/466 books. I was able to replicate the problem on the demo site. It didn’t happen at first, but after I reloaded the page with F5, the problem appeared.

https://github.com/user-attachments/assets/4e6efdd2-e0e2-4c04-98e6-4e3de2b5e02d

@serinf-lauza commented on GitHub (Aug 6, 2025): Hi! My Bookstack contains 2966 pages/466 books. I was able to replicate the problem on the demo site. It didn’t happen at first, but after I reloaded the page with F5, the problem appeared. https://github.com/user-attachments/assets/4e6efdd2-e0e2-4c04-98e6-4e3de2b5e02d
Author
Owner

@ssddanbrown commented on GitHub (Aug 7, 2025):

Hi @serinf-lauza,
Thanks for the video using our demo.
I'm not sure I see the active problem there though? Unlike your prior video, the results are only changing close to input changes, and the results seem relevant.

I'm struggling to replicate the error scenario in either chrome/firefox so far.

@ssddanbrown commented on GitHub (Aug 7, 2025): Hi @serinf-lauza, Thanks for the video using our demo. I'm not sure I see the active problem there though? Unlike your prior video, the results are only changing close to input changes, and the results seem relevant. I'm struggling to replicate the error scenario in either chrome/firefox so far.
Author
Owner

@serinf-lauza commented on GitHub (Aug 7, 2025):

After doing some testing myself, it seems that something written on those pages is causing the issue. I tried removing all the content and only kept the title, and that specific page stopped showing up (although it was replaced by another one). Here's one of the pages if you want to test it on your end:

I exported it in .html then zipped it so it's easier to copy/paste
mise-a-jour-a-partir-dun-catalogue 1.zip

@serinf-lauza commented on GitHub (Aug 7, 2025): After doing some testing myself, it seems that something written on those pages is causing the issue. I tried removing all the content and only kept the title, and that specific page stopped showing up (although it was replaced by another one). Here's one of the pages if you want to test it on your end: I exported it in .html then zipped it so it's easier to copy/paste [mise-a-jour-a-partir-dun-catalogue 1.zip](https://github.com/user-attachments/files/21666032/mise-a-jour-a-partir-dun-catalogue.1.zip)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5388