Add the ability to query files by tags independent of file path

This commit is contained in:
Cameron Cordes
2023-03-25 20:52:51 -04:00
parent ae2642a544
commit a9109fc52d
3 changed files with 48 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ pub struct FilesRequest {
pub tag_filter_mode: Option<FilterMode>,
}
#[derive(Copy, Clone, Deserialize)]
#[derive(Copy, Clone, Deserialize, PartialEq)]
pub enum FilterMode {
Any,
All,