-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Book added to shelf but not shown in shelf #2677
Comments
Duplicate of #2627. I can't reproduce this |
Calibre-web is using SQLalchemy, so there are no raw sql querys visible, it's looking like function calls. If you say the books are in the shelfs book link table, than the view route is the one in question. query = query.filter(db.Books) -> commonfilters: all the filters which are applied if you have only one language visible or only certain tags or values of a custom column |
Just a question: The books you can't see in shelves, are they marked as archived? Then they wont show up in the shelf. |
Yes, that is exactly it! But I have no idea why ca. 25% of the books for just one user would be marked as archived, is there some automated process that can do this? And is there any way to unarchive them in bulk, or do I just have to edit the database? |
Actually I have no clue. The archived marker doesn't show up in my database so I have to unmark them one by one. |
Thanks - I just deleted all the rows from the archived_books table and everything looks fine. |
I'm running Calibre and calibre-web in a docker environment. Having similar problem. |
Describe the bug/problem
For several specific books (out of thousands), adding to a shelf doesn't really work. The book itself shows the shelf tag, but in the shelf it is not shown, and also this is a Kobo sync shelf and the book is not synced.
Strangely, for another user it works fine.
I've tried giving the "problem" user full rights to everything and it didn't help; I also tried deleting and recreating the shelf or adding the book to another shelf, nothing works.
To Reproduce
Logfile
There is nothing in the log even with debug on.
Expected behavior
Book is added to the shelf.
Environment (please complete the following information):
Additional context
The book is added to the book_shelf_link table, in fact all the records in the calibre-web db don't look any different to books where shelf adding works properly.
In the Calibre database the book records also looks fine, nothing obviously wrong.
I added the book to Calibre a second time, and this second instance works fine with shelves.
Is there some way to see the query being run to populate the shelf?
The text was updated successfully, but these errors were encountered: