From 7401ef74b0c405042d46f4fa7a7cdb639a3ff72e Mon Sep 17 00:00:00 2001 From: violet-dev Date: Mon, 30 Dec 2024 14:41:41 +0900 Subject: [PATCH] Rename 'recent' prefix --- violet/lib/component/query_translate.dart | 3 --- violet/lib/pages/search/search_bar_page.dart | 1 - 2 files changed, 4 deletions(-) diff --git a/violet/lib/component/query_translate.dart b/violet/lib/component/query_translate.dart index fabaabee3..54e9b5af2 100644 --- a/violet/lib/component/query_translate.dart +++ b/violet/lib/component/query_translate.dart @@ -122,9 +122,6 @@ class _QueryTranslator { case 'class': name = ss[1].replaceAll('_', ' '); break; - - case 'recent': - return 'SELECT * FROM HitomiColumnModel'; } var compare = "$column LIKE '%$name%'"; diff --git a/violet/lib/pages/search/search_bar_page.dart b/violet/lib/pages/search/search_bar_page.dart index 0413c025f..d2bb24759 100644 --- a/violet/lib/pages/search/search_bar_page.dart +++ b/violet/lib/pages/search/search_bar_page.dart @@ -95,7 +95,6 @@ class _SearchBarPageState extends State 'character', 'type', 'class', - 'recent', 'random', 'page', ];