mirror of
https://github.com/YGGverse/btracker.git
synced 2026-04-01 09:35:34 +00:00
add search in comment
This commit is contained in:
parent
5f0562cd48
commit
c87d9d4b16
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@ impl Public {
|
||||||
|| m.info
|
|| m.info
|
||||||
.name
|
.name
|
||||||
.is_some_and(|n| n.to_string().to_lowercase().contains(&q))
|
.is_some_and(|n| n.to_string().to_lowercase().contains(&q))
|
||||||
|
|| m.comment
|
||||||
|
.is_some_and(|c| c.to_string().to_lowercase().contains(&q))
|
||||||
|| m.info.files.is_some_and(|f| {
|
|| m.info.files.is_some_and(|f| {
|
||||||
f.iter().any(|f| {
|
f.iter().any(|f| {
|
||||||
let mut p = PathBuf::new();
|
let mut p = PathBuf::new();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue