Preserve search time when normalizing, fixes #1062

This commit is contained in:
Jeremy Soller 2025-07-09 15:26:49 -06:00
parent e04f17b97d
commit 15e1337e63
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA

View file

@ -1425,8 +1425,8 @@ impl Location {
Self::Desktop(path, display.clone(), *desktop_config) Self::Desktop(path, display.clone(), *desktop_config)
} }
Self::Path(..) => Self::Path(path), Self::Path(..) => Self::Path(path),
Self::Search(_, term, show_hidden, _) => { Self::Search(_, term, show_hidden, time) => {
Self::Search(path, term.clone(), *show_hidden, Instant::now()) Self::Search(path, term.clone(), *show_hidden, *time)
} }
other => other.clone(), other => other.clone(),
} }