From 353ee5cd4d785ed73dc51da695c3b4036c60a75b Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Sun, 4 Jan 2026 00:33:53 -0800 Subject: block sorting of menus where it is stupid --- main.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.lua b/main.lua index d44548a..a2a1a99 100644 --- a/main.lua +++ b/main.lua @@ -609,6 +609,7 @@ local function open_option_title_info(title, info) local m = { options = options, title = title, + type = 'info', } if info.cover_big and info.cover_big ~= '' then m.img_url = info.cover_big @@ -869,6 +870,10 @@ end local function toggle_menu_sort() local menu = menus[depth] + if menu.type ~= 'group' and menu.type ~= 'search' then + return + end + local key = menu.type == 'search' and 'search_options' or 'options' if not menu['sorted_' .. key] then -- cgit v1.2.3-70-g09d2