commit
e0cfb18a46
|
|
@ -233,6 +233,6 @@ public partial class ConversationService : IConversationService
|
|||
var db = _services.GetRequiredService<IBotSharpRepository>();
|
||||
keys = db.GetConversationSearchKeys(convlimit: convlimit);
|
||||
keys = preLoad ? keys : keys.Where(x => x.Contains(query, StringComparison.OrdinalIgnoreCase)).ToList();
|
||||
return keys.Take(keyLimit).ToList();
|
||||
return keys.OrderBy(x => x).Take(keyLimit).ToList();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue