@@ -133,7 +133,7 @@ const filterOrder = [
133133 "textSearch" ,
134134 "minPersons" ,
135135 "maxPersons" ,
136- "reservationUnitType " ,
136+ "reservationUnitTypes " ,
137137 "unit" ,
138138 "purposes" ,
139139] ;
@@ -155,7 +155,7 @@ function mapQueryToForm(query: ParsedUrlQuery): FormValues {
155155 unit : mapSingleParamToFormValue ( query . unit ) ?? "" ,
156156 purposes : mapSingleParamToFormValue ( query . purposes ) ?? "" ,
157157 reservationUnitTypes :
158- mapSingleParamToFormValue ( query . reservationUnitType ) ?? "" ,
158+ mapSingleParamToFormValue ( query . reservationUnitTypes ) ?? "" ,
159159 minPersons : mapQueryParamToNumber ( query . minPersons ) ?? null ,
160160 maxPersons : mapQueryParamToNumber ( query . maxPersons ) ?? null ,
161161 textSearch : mapSingleParamToFormValue ( query . textSearch ) ?? "" ,
@@ -198,7 +198,7 @@ export function SeasonalSearchForm({
198198 switch ( key ) {
199199 case "unit" :
200200 return unitOptions . find ( ( n ) => String ( n . value ) === value ) ?. label ;
201- case "reservationUnitType " :
201+ case "reservationUnitTypes " :
202202 return reservationUnitTypeOptions . find ( ( n ) => String ( n . value ) === value )
203203 ?. label ;
204204 case "purposes" :
@@ -208,7 +208,7 @@ export function SeasonalSearchForm({
208208 }
209209 } ;
210210
211- const multiSelectFilters = [ "unit" , "reservationUnitType " , "purposes" ] ;
211+ const multiSelectFilters = [ "unit" , "reservationUnitTypes " , "purposes" ] ;
212212 const hideList = [ "applicationRound" , "order" , "sort" ] ;
213213
214214 return (
0 commit comments