Merged in fix/SW-1754-overview-page-rate-limit (pull request #1412)
fix(SW-1754): Fix rate limit issue on Destination Overview Page * fix(SW-1754): Fix rate limit issue on Destination Overview Page Approved-by: Matilda Landström
This commit is contained in:
@@ -4,8 +4,12 @@ query GetDestinationCityListData($locale: String!, $cityIdentifier: String!) {
|
||||
all_destination_city_page(
|
||||
where: {
|
||||
OR: [
|
||||
{ destination_settings: { city_sweden: $cityIdentifier } }
|
||||
{ destination_settings: { city_denmark: $cityIdentifier } }
|
||||
{ destination_settings: { city_finland: $cityIdentifier } }
|
||||
{ destination_settings: { city_germany: $cityIdentifier } }
|
||||
{ destination_settings: { city_norway: $cityIdentifier } }
|
||||
{ destination_settings: { city_poland: $cityIdentifier } }
|
||||
{ destination_settings: { city_sweden: $cityIdentifier } }
|
||||
]
|
||||
}
|
||||
locale: $locale
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCityPageUrls($locale: String!) {
|
||||
all_destination_city_page(locale: $locale) {
|
||||
items {
|
||||
url
|
||||
destination_settings {
|
||||
city_denmark
|
||||
city_finland
|
||||
city_germany
|
||||
city_norway
|
||||
city_poland
|
||||
city_sweden
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user