Displaing a list of books with a specific tag #4379

Closed
opened 2026-02-05 08:43:38 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Axamulyan on GitHub (Dec 28, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

Hi! I need to break books into several groups and display these groups on a homepage instead of My Recently Viewed and Recently Updated Pages, etc. I've searched for a solution and decided to do it with tags. What I can't figure out, is how to make a query for a list of books with a specific tag. I'm not exactly good at PHP, so I've looked through the project for an answer. The only example of using tags in a close way to what I need is in SearchOptions, but I wasn't able to adapt the code to my needs.
Could you please give me some hint of how to properly make a query? Or maybe there's a simpler solution that I haven't noticed

Exact BookStack Version

BookStack v23.10.2

Log Content

No response

Hosting Environment

PHP 8.1 on Ubuntu 22.04.3 Server, installed using official installiation script

Originally created by @Axamulyan on GitHub (Dec 28, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario Hi! I need to break books into several groups and display these groups on a homepage instead of My Recently Viewed and Recently Updated Pages, etc. I've searched for a solution and decided to do it with tags. What I can't figure out, is how to make a query for a list of books with a specific tag. I'm not exactly good at PHP, so I've looked through the project for an answer. The only example of using tags in a close way to what I need is in SearchOptions, but I wasn't able to adapt the code to my needs. Could you please give me some hint of how to properly make a query? Or maybe there's a simpler solution that I haven't noticed ### Exact BookStack Version BookStack v23.10.2 ### Log Content _No response_ ### Hosting Environment PHP 8.1 on Ubuntu 22.04.3 Server, installed using official installiation script
OVERLORD added the 🐕 Support label 2026-02-05 08:43:38 +03:00
Author
Owner

@Axamulyan commented on GitHub (Dec 29, 2023):

I've figured it out. (:

@Axamulyan commented on GitHub (Dec 29, 2023): I've figured it out. (:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4379