-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix search index for entries without parent book (#160)
* Fix search index for entries without parent books This commit enhances the search index generation process by providing more meaningful descriptions for entries that lack a parent <book> element. Additionally, refactors writeJsonIndex() into smaller methods. Fixes #159 * Prefer array_key_exists over isset * Return set elements immediately * Rename processIndexForSearch to improve clarity Also, updated the doc block with additional context.
- Loading branch information
1 parent
0364e4f
commit c578cc9
Showing
1 changed file
with
50 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters