Find books on no shelves #869

Open
opened 2026-02-04 22:38:22 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @tgrosinger on GitHub (Oct 19, 2018).

Describe the feature you'd like
Currently it is hard to find if a book is not a member of any bookshelves. I would like to explore two potential solutions to this, which are compatible with each other:

  • Add a method (perhaps in search) of enumerating all books which are not a part of any bookshelves.
  • Display which shelves a book is part of when viewing or editing a book

Describe the benefits this feature would bring to BookStack users

Bookshelves are an excellent addition to organization in BookStack, however they are currently a little hard to use, especially when not all books are part of a shelf. This functionality would be an organization tool, and probably not an every-day searching tool.

Originally created by @tgrosinger on GitHub (Oct 19, 2018). **Describe the feature you'd like** Currently it is hard to find if a book is not a member of any bookshelves. I would like to explore two potential solutions to this, which are compatible with each other: * Add a method (perhaps in search) of enumerating all books which are not a part of any bookshelves. * Display which shelves a book is part of when viewing or editing a book **Describe the benefits this feature would bring to BookStack users** Bookshelves are an excellent addition to organization in BookStack, however they are currently a little hard to use, especially when not all books are part of a shelf. This functionality would be an organization tool, and probably not an every-day searching tool.
OVERLORD added the 🛠️ Enhancement🏭 Back-End💆 UX labels 2026-02-04 22:38:22 +03:00
Author
Owner

@floviolleau commented on GitHub (Aug 4, 2023):

Hi,

Thanks for this beautiful project. Do you know when this feature will be implemented?

Thanks

@floviolleau commented on GitHub (Aug 4, 2023): Hi, Thanks for this beautiful project. Do you know when this feature will be implemented? Thanks
Author
Owner

@ben-ba commented on GitHub (Sep 29, 2025):

Is there any news about this?

@ben-ba commented on GitHub (Sep 29, 2025): Is there any news about this?
Author
Owner

@ssddanbrown commented on GitHub (Sep 30, 2025):

@ben-ba Nope.

You could run the following to get a report via the command line (ran from the BookStack install location):

php artisan tinker --execute "echo Book::whereDoesntHave('shelves')->get()->map(fn(\$book) => (\$book->id . ': ' . \$book->name . ' - ' . \$book->getUrl()))->join(\"\\n\");"
@ssddanbrown commented on GitHub (Sep 30, 2025): @ben-ba Nope. You could run the following to get a report via the command line (ran from the BookStack install location): ```bash php artisan tinker --execute "echo Book::whereDoesntHave('shelves')->get()->map(fn(\$book) => (\$book->id . ': ' . \$book->name . ' - ' . \$book->getUrl()))->join(\"\\n\");" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#869