Merge branch 'develop' into mobile-library-allowed-formats-and-thumbnail-fix

* develop:
  Translations update from Hosted Weblate (#3113)
This commit is contained in:
acx10
2026-02-28 14:36:38 -07:00
46 changed files with 4589 additions and 4561 deletions
@@ -34,6 +34,11 @@ public class BookRuleEvaluatorService {
public Specification<BookEntity> toSpecification(GroupRule groupRule, Long userId) {
return (root, query, cb) -> {
// JOINs on multi-valued associations (authors, tags, shelves, etc.) can
// produce duplicate rows — use DISTINCT so pagination counts and page
// content reflect unique BookEntity results.
query.distinct(true);
Join<BookEntity, UserBookProgressEntity> progressJoin = root.join("userBookProgress", JoinType.LEFT);
Predicate userPredicate = cb.or(