mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
Fix bible.books -> bible.get_books() in Strong's routes
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2479,7 +2479,7 @@ def strongs_index(request: Request, q: str = None):
|
||||
if q:
|
||||
results = search_strongs(q, language="both", limit=100)
|
||||
|
||||
books = [b.name for b in bible.books]
|
||||
books = bible.get_books()
|
||||
breadcrumbs = [
|
||||
{"text": "Home", "url": "/"},
|
||||
{"text": "Strong's Concordance", "url": None}
|
||||
@@ -2508,7 +2508,7 @@ def strongs_entry(request: Request, strongs_number: str):
|
||||
detail=f"Strong's number '{strongs_number}' not found"
|
||||
)
|
||||
|
||||
books = [b.name for b in bible.books]
|
||||
books = bible.get_books()
|
||||
breadcrumbs = [
|
||||
{"text": "Home", "url": "/"},
|
||||
{"text": "Strong's Concordance", "url": "/strongs"},
|
||||
|
||||
Reference in New Issue
Block a user