summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 56bae65..0868095 100644
--- a/init.lua
+++ b/init.lua
@@ -257,6 +257,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
elseif fields.search or fields.key_enter_field == "craftguide_filter" then
data.filter = fields.craftguide_filter:lower()
data.pagenum = 1
+ if progressive_mode then data.item = nil end
craftguide:get_items(player_name)
craftguide:get_formspec(player_name)
elseif fields.prev or fields.next then