Skip to content

Commit f33008c

Browse files
committed
fix(sports): show all events of place / location
LIIKUNTA-752. Location was never set to LinkedEvents query, even though the place search form paramtere was handled.
1 parent e4f0962 commit f33008c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/sports-helsinki/src/domain/search/combinedSearch/adapters/EventSearchAdapter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class EventSearchAdapter implements CombinedSearchAdapter<EventSearchParams> {
7070
? CITY_OF_HELSINKI_LINKED_EVENTS_ORGANIZATION_ID
7171
: initialEventSearchAdapterValues.publisherAncestor;
7272
this.superEvent = this.getSuperEvent(eventType);
73+
this.location = input.place ?? initialEventSearchAdapterValues.location;
7374
}
7475

7576
/**

0 commit comments

Comments
 (0)