-
Notifications
You must be signed in to change notification settings - Fork 127
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
[Bug] Search Result Chapter Title #444
Comments
It is supported but with a limited scope: chapter sections inside a resource are ignored. Could you share a publication that shows the problem? |
Hi @mickael-menu , so sorry for late reply. You can download the book called "Law of Wills" from OPDS -> Open Textbooks Catalog. Actually in searching, the search result does not contain chapter info. So I can't see which chapter the search result belongs to. |
Thank you for reporting the issue. There was indeed a bug lurking. |
thanks @mickael-menu for this quick fix. Can you provide a small example that I can use to get chapter title out of search results. Also can I get the fixed version as uploading the readium package in my project? |
I will publish today or tomorrow a new 2.7.2 version which will contain the fix. You can create a new chapter section in your search result list every time you see a different title in |
ok, will be waiting for that. Thanks... |
Describe the bug
Hello, I want to show chapter title of the search results when user perform a search operation on a book. So users can see which chapter the search result belongs to.
I thought that I can get it via
LocatorCollection-> links[n] -> title
but unfortunately it returns an empty array.How to reproduce?
Readium version
2.7.1
OS version
iOS 17.2
Testing device
iPhone 15 Pro
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: