@@ -12,7 +12,7 @@ use crate::templates::{
12
12
dashboard:: employer:: jobs:: { JobKind , SalaryKind , Workplace } ,
13
13
filters,
14
14
helpers:: { DATE_FORMAT , DATE_FORMAT_3 , build_jobboard_image_url, option_is_none_or_default} ,
15
- misc:: { Location , Member , Project } ,
15
+ misc:: { Foundation , Location , Member , Project } ,
16
16
pagination:: { NavigationLinks , Pagination } ,
17
17
} ;
18
18
@@ -64,6 +64,8 @@ pub(crate) struct Filters {
64
64
#[ serde( skip_serializing_if = "option_is_none_or_default" ) ]
65
65
pub date_range : Option < DateRange > ,
66
66
#[ serde( skip_serializing_if = "option_is_none_or_default" ) ]
67
+ pub foundation : Option < String > ,
68
+ #[ serde( skip_serializing_if = "option_is_none_or_default" ) ]
67
69
pub kind : Option < Vec < JobKind > > ,
68
70
#[ serde( skip_serializing_if = "option_is_none_or_default" ) ]
69
71
pub limit : Option < usize > ,
@@ -146,8 +148,9 @@ pub(crate) enum Seniority {
146
148
}
147
149
148
150
/// Filters options used in the jobs explore section.
149
- #[ derive( Debug , Clone , Serialize , Deserialize ) ]
151
+ #[ derive( Debug , Clone , PartialEq , Serialize , Deserialize ) ]
150
152
pub ( crate ) struct FiltersOptions {
153
+ pub foundations : Vec < Foundation > ,
151
154
pub projects : Vec < Project > ,
152
155
}
153
156
0 commit comments