Added roomcount filter
This commit is contained in:
parent
9ca2b8ab85
commit
15200df989
@ -10,6 +10,7 @@ pub enum Filter {
|
||||
Finished,
|
||||
ByProjectType(ProjectType),
|
||||
ByProjectCondition(ProjectCondition),
|
||||
ByRoomCount(i32),
|
||||
}
|
||||
|
||||
impl Filter {
|
||||
@ -20,6 +21,7 @@ impl Filter {
|
||||
Filter::Finished => (String::from("finished"), String::from("true")),
|
||||
Filter::ByProjectType(project_type) => (String::from("byprojecttype"), project_type.to_string()),
|
||||
Filter::ByProjectCondition(project_condition) => (String::from("byprojectcondition"), project_condition.to_string()),
|
||||
Filter::ByRoomCount(room_count) => (String::from("byroomcount"), room_count.to_string()),
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user