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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetCountryPageUrls($locale: String!) {
|
||||
all_destination_country_page(locale: $locale) {
|
||||
items {
|
||||
url
|
||||
destination_settings {
|
||||
country
|
||||
}
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -33,20 +33,6 @@ query GetDestinationOverviewPageRefs($locale: String!, $uid: String!) {
|
||||
}
|
||||
}
|
||||
|
||||
query GetCountryPageUrl($locale: String!, $country: String!) {
|
||||
all_destination_country_page(
|
||||
where: { destination_settings: { country: $country } }
|
||||
locale: $locale
|
||||
) {
|
||||
items {
|
||||
url
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetDaDeEnUrlsDestinationOverviewPage($uid: String!) {
|
||||
de: destination_overview_page(locale: "de", uid: $uid) {
|
||||
url
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
#import "../../Fragments/System.graphql"
|
||||
|
||||
query GetHotelPageUrl($locale: String!, $hotelId: String!) {
|
||||
all_hotel_page(locale: $locale, where: { hotel_page_id: $hotelId }) {
|
||||
query GetHotelPageUrls($locale: String!) {
|
||||
all_hotel_page(locale: $locale) {
|
||||
items {
|
||||
url
|
||||
hotel_page_id
|
||||
system {
|
||||
...System
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user