mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
search in titles
This commit is contained in:
parent
d26917c78d
commit
ee08f0a829
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ impl Memory {
|
||||||
if limit.is_some_and(|l| i > l) {
|
if limit.is_some_and(|l| i > l) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if item.request.contains(request) {
|
if item.request.contains(request)
|
||||||
|
|| item.title.as_ref().is_some_and(|t| t.contains(request))
|
||||||
|
{
|
||||||
items.push(item.clone())
|
items.push(item.clone())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue