Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Update input value from URL

Daoud Clarke6b8d0b0161b6
diff --git a/devdata/index-v2.tinysearch b/devdata/index-v2.tinysearch
index d814247..ebf9ba9 100644
Binary files a/devdata/index-v2.tinysearch and b/devdata/index-v2.tinysearch differ
diff --git a/mwmbl/templates/index.html b/mwmbl/templates/index.html
index 1820c6a..f6dfcd7 100644
--- a/mwmbl/templates/index.html
+++ b/mwmbl/templates/index.html
@@ -60,6 +60,7 @@
placeholder='Search on Mwmbl...'
title='Use "CTRL+K" or "/" to focus.'
autocomplete='off'
+ value="{{ query }}"
hx-get="/app/home/"
hx-trigger="keyup changed delay:100ms"
hx-target=".results"