BookLore icon indicating copy to clipboard operation
BookLore copied to clipboard

[Bug] Filter in URL doesn't work with OR

Open lbird-mma opened this issue 4 weeks ago • 1 comments

🐛 Bug Report for Booklore

Thank you for taking the time to report this bug. Your feedback helps make Booklore better for everyone!

Let's squash this bug together! 🔨


📝 What happened?

#1654 keeps track of filter in the URL. However this only works with the AND filter type.

🔄 Steps to Reproduce

  1. Set filter type to OR
  2. Select two authors. Notice the URL changes and books from both authors are included in the selection
  3. Refresh the screen with the current URL

Result: The screen appears with an empty selection

✅ Expected Behavior

The filter type should be respected

📸 Screenshots / Error Messages

💻 Environment

  • Booklore Version: v1.13.0
  • OS: Windows 11
  • Browser: Opera
  • Installation: Docker
  • Storage Type: NFS Mount

📌 Additional Context

✨ Possible Solution (Optional)

Add the filter type to the URL

lbird-mma avatar Dec 02 '25 03:12 lbird-mma

Confirming. The filter mode (AND / OR / single) is not preserved on page refresh so it resets to AND every time you reload the page. The quick workaround is to click OR but it would be better if the mode was in the URL so links can be shared properly.

Muppetteer avatar Dec 02 '25 03:12 Muppetteer