What Went Wrong?
The library filter options appear to be calculated from only the first 100 books returned, instead of from the full matching dataset. This causes the counts shown in the filter options to be much lower than the actual number of books in each library.
Example shown in the Libraries filter:
ebooks (92)
documents (3)
comics (5)
In this case, we have more than 100 ebooks, more than 3 documents and more than 5 comics. This bug likely applies to all filters and not just library filters
How Can We Reproduce This?
- Open a Grimmory instance with more than 100 total books across multiple libraries.
- Make sure one or more libraries have counts that exceed the values shown in the first 100 returned books.
- Go to the all books view
- Open the library filters.
- Compare the displayed library option counts against the actual number of books in each library.
What Should Have Happened?
The filter option counts should reflect the full number of books in each library. Only the number of filter options per category should be capped to 100 if needed, not the dataset used to calculate each option’s count.
Screenshots or Error Messages (Optional)
Stable:

Nightly:

Any Ideas on How to Fix This? (Optional)
No response
Your Setup
Before Submitting
What Went Wrong?
The library filter options appear to be calculated from only the first 100 books returned, instead of from the full matching dataset. This causes the counts shown in the filter options to be much lower than the actual number of books in each library.
Example shown in the Libraries filter:
ebooks (92)documents (3)comics (5)In this case, we have more than 100 ebooks, more than 3 documents and more than 5 comics. This bug likely applies to all filters and not just library filters
How Can We Reproduce This?
What Should Have Happened?
The filter option counts should reflect the full number of books in each library. Only the number of filter options per category should be capped to 100 if needed, not the dataset used to calculate each option’s count.
Screenshots or Error Messages (Optional)
Stable:

Nightly:

Any Ideas on How to Fix This? (Optional)
No response
Your Setup
Before Submitting