Closed vedat73 closed 1 month ago
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 locator.title
of each search result. This is not implemented in the Test App.
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