From a6fcc882226c9f44df2e449344fc286da45fce43 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 22 Nov 2025 15:59:08 -0500 Subject: [PATCH] Show family tree results above Bible verses in search MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Makes it easier to find people when searching by name, as the person's profile appears before all the verses mentioning them. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/search.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/kjvstudy_org/templates/search.html b/kjvstudy_org/templates/search.html index c165044..bccfe2b 100644 --- a/kjvstudy_org/templates/search.html +++ b/kjvstudy_org/templates/search.html @@ -112,18 +112,6 @@ Found {{ total_results }} result{{ 's' if total_results != 1 else '' }} for "{{ query }}" - {% if results %} -

Bible Verses

- {% for result in results %} - - {% endfor %} - {% endif %} - {% if family_tree_results %}

People in Family Tree

{% for result in family_tree_results %} @@ -142,6 +130,18 @@ {% endfor %} {% endif %} + + {% if results %} +

Bible Verses

+ {% for result in results %} + + {% endfor %} + {% endif %} {% elif total_results == 0 %}

No results found for "{{ query }}". Try different words or check your spelling.