summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-opkg/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-22 08:57:09 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-22 12:58:34 +0100
commit14487071db51d4fce258ba5d2531f390ab85fe1a (patch)
treeec33b50cb4a107e9c352b2a574fe50e228d0df00 /applications/luci-app-opkg/luasrc
parent84d50a604493a492c1cf836eccd349da66216e14 (diff)
luci-app-opkg: allow presetting filter via query attribute
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-opkg/luasrc')
-rw-r--r--applications/luci-app-opkg/luasrc/view/opkg.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-opkg/luasrc/view/opkg.htm b/applications/luci-app-opkg/luasrc/view/opkg.htm
index 76b3f99ae7..0d2a4e2920 100644
--- a/applications/luci-app-opkg/luasrc/view/opkg.htm
+++ b/applications/luci-app-opkg/luasrc/view/opkg.htm
@@ -93,7 +93,7 @@
<div>
<label><%:Filter%>:</label>
- <input type="text" name="filter" placeholder="<%:Type to filter…%>" /><!--
+ <input type="text" name="filter" placeholder="<%:Type to filter…%>"<%=attr("value", luci.http.formvalue("query") or "")%> /><!--
--><button class="btn cbi-button" onclick="handleReset(event)"><%:Clear%></button>
</div>