diff --git a/.github/workflows/cypress_public.yml b/.github/workflows/cypress_public.yml index 1e67ead15e..74624bc4a2 100644 --- a/.github/workflows/cypress_public.yml +++ b/.github/workflows/cypress_public.yml @@ -41,6 +41,7 @@ env: SHOW_PUBLIC_LOTTERY: "TRUE" GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }} GOOGLE_MAPS_MAP_ID: ${{ secrets.GOOGLE_MAPS_MAP_ID }} + SHOW_ALL_MAP_PINS: "TRUE" jobs: public-cypress: diff --git a/api/src/controllers/listing.controller.ts b/api/src/controllers/listing.controller.ts index 1025f917fa..4ba337f50e 100644 --- a/api/src/controllers/listing.controller.ts +++ b/api/src/controllers/listing.controller.ts @@ -251,6 +251,7 @@ export class ListingController { listingId, language, queryParams.view, + queryParams.combined, ); } } diff --git a/api/src/dtos/listings/listings-retrieve-params.dto.ts b/api/src/dtos/listings/listings-retrieve-params.dto.ts index 23cbdb00db..d2952ffd6e 100644 --- a/api/src/dtos/listings/listings-retrieve-params.dto.ts +++ b/api/src/dtos/listings/listings-retrieve-params.dto.ts @@ -15,4 +15,11 @@ export class ListingsRetrieveParams { groups: [ValidationsGroupsEnum.default], }) view?: ListingViews; + + @Expose() + @ApiPropertyOptional({ + type: Boolean, + example: true, + }) + combined?: boolean; } diff --git a/api/src/services/listing.service.ts b/api/src/services/listing.service.ts index 462af4b15e..40b7fd1af5 100644 --- a/api/src/services/listing.service.ts +++ b/api/src/services/listing.service.ts @@ -650,8 +650,11 @@ export class ListingService implements OnModuleInit { listingId: string, lang: LanguagesEnum = LanguagesEnum.en, view: ListingViews = ListingViews.full, + combined?: boolean, ): Promise