search pattern *search*
1c58e6333802968d099e984613965999661fd484
2 files changed
RedisGui/FormMain.Designer.csRedisGui/FormMain.cs
diff --git a/RedisGui/FormMain.Designer.cs b/RedisGui/FormMain.Designer.cs
index 6728ae2..733e3b9 100644
--- a/RedisGui/FormMain.Designer.cs
+++ b/RedisGui/FormMain.Designer.cs
@@ -175,7 +175,7 @@
txtMaxKeys.Name = "txtMaxKeys";
txtMaxKeys.Size = new Size(41, 23);
txtMaxKeys.TabIndex = 4;
- txtMaxKeys.Text = "100";
+ txtMaxKeys.Text = "1000";
//
// label4
//
@@ -257,7 +257,7 @@
listView1.GridLines = true;
listView1.Location = new Point(12, 49);
listView1.Name = "listView1";
- listView1.Size = new Size(685, 248);
+ listView1.Size = new Size(679, 248);
listView1.TabIndex = 0;
listView1.UseCompatibleStateImageBehavior = false;
listView1.View = View.Details;
@@ -284,7 +284,7 @@
txtData.Name = "txtData";
txtData.ReadOnly = true;
txtData.ScrollBars = ScrollBars.Both;
- txtData.Size = new Size(1059, 140);
+ txtData.Size = new Size(1059, 134);
txtData.TabIndex = 5;
//
// contextMenuStrip1
diff --git a/RedisGui/FormMain.cs b/RedisGui/FormMain.cs
index f3a2204..26db1b3 100644
--- a/RedisGui/FormMain.cs
+++ b/RedisGui/FormMain.cs
@@ -289,7 +289,7 @@ public partial class FormMain : Form
_ = int.TryParse(this.txtMaxKeys.Text, out int PageSize);
IAsyncEnumerator<RedisKey> keysAsync = this.server
- .KeysAsync(pattern: $"{strSearch}*", pageSize: PageSize)
+ .KeysAsync(pattern: $"*{strSearch}*", pageSize: PageSize)
.GetAsyncEnumerator();
List<RedisKey> keys = [];
while (await keysAsync.MoveNextAsync())