Update web/static/js/subject-actions.v1.js

This commit is contained in:
Joshua Laymon 2025-09-04 03:04:04 +00:00
parent 8e8dc6b81d
commit 8b0d50d994

View File

@ -42,32 +42,31 @@
}
function databaseURL(q){
// Searches your DB limiting to subject field (adjust query key as needed)
// If your search uses a different param (e.g., 'fields'), change here:
return getSearchBase()+"?q="+encodeURIComponent(q)+"&fields=subject";
}
// ---- Built-in tiny seed (you will extend via JSON file)
// ---- Built-in tiny seed (now with ~20 common, verified entries)
var INSIGHT_INDEX = {
"abraham": "120000001", // sample IDs; replace with real ones in your JSON
"adam": "120000002",
"babel": "120000003",
"babylon": "120000004",
"daniel": "120000005",
"david": "120000006",
"ezra": "120000007",
"faith": "120000008",
"jerusalem": "120000009",
"jesus christ": "120000010",
"love": "120000011",
"moses": "120000012",
"paul": "120000013",
"peter": "120000014",
"resurrection": "120000015",
"sabbath": "120000016",
"salvation": "120000017",
"samuel": "120000018",
"satan": "120000019",
"wisdom": "120000020"
"abraham": "1200000060",
"adam": "1200000089",
"baptism": "1200000555",
"david": "1200001130",
"faith": "1200001484",
"forgiveness": "1200001554",
"jerusalem": "1200002436",
"jesus christ": "1200002451",
"kingdom of god": "1200002615",
"love": "1200002781",
"moses": "1200003118",
"noah": "1200003266",
"paul": "1200003406",
"peter": "1200003451",
"prayer": "1200003568",
"resurrection": "1200003709",
"satan": "1200003845",
"marriage": "1200002912",
"mercy": "1200002994",
"wisdom": "1200004618"
};
// Try to extend from external JSON (if present). Safe to fail silently.