This commit is contained in:
2dust 2023-01-31 14:13:25 +08:00
parent 47e6eb546d
commit b147e05794
5 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,4 @@
using System;
using System.IO;
using System.IO;
using System.Windows.Media;
namespace v2rayN.Converters

View file

@ -95,6 +95,10 @@ namespace v2rayN.Handler
}
if (!Utils.IsNullOrEmpty(filter))
{
if (filter.Contains("'"))
{
filter = filter.Replace("'", "");
}
sql += $" and a.remarks like '%{filter}%'";
}
sql += " order by a.sort";

View file

@ -1,5 +1,4 @@
using Grpc.Core;
using ProtosLib.Statistics;
using System.Net;
using System.Net.Sockets;
using v2rayN.Base;