1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Add keyword based search to serverlist

This commit is contained in:
red-001 2017-01-06 20:29:29 +00:00 committed by Auke Kok
parent f5070b4454
commit f3bd4c405d
8 changed files with 113 additions and 23 deletions

View file

@ -77,7 +77,7 @@ function order_favorite_list(list)
end
--------------------------------------------------------------------------------
function render_favorite(spec, is_favorite)
function render_serverlist_row(spec, is_favorite)
local text = ""
if spec.name then
text = text .. core.formspec_escape(spec.name:trim())