From 9dc70a269c8763e652a4668ebbf5c3e1cbbc1036 Mon Sep 17 00:00:00 2001 From: Hiram <> Date: Sat, 30 Nov 2024 20:31:51 +0800 Subject: [PATCH] [optimize] delete quickSearch logic --- src/main/core/server/routes/v1/db/utils/data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/core/server/routes/v1/db/utils/data.ts b/src/main/core/server/routes/v1/db/utils/data.ts index 8f2554aaa..82e075297 100644 --- a/src/main/core/server/routes/v1/db/utils/data.ts +++ b/src/main/core/server/routes/v1/db/utils/data.ts @@ -64,7 +64,7 @@ const easy2tvbox = async (config, url, type) => { }; const formatSearch = (searchable: number = 0, quickSearch: number = 0) => { - if (quickSearch === 1) return 2; + // if (quickSearch === 1) return 2; if (searchable === 1) return 1; return 0; };