Merged in feat/BOOK-434-users-should-redirect-to- (pull request #3154)

* feat(BOOK-434): Moved redirect to middleware layer
* feat(BOOK-434): Updated to handle no filters available scenario

Approved-by: Erik Tiekstra
This commit is contained in:
Hrishikesh Vaipurkar
2025-11-14 09:51:44 +00:00
parent 3d121be74a
commit f23652b929
7 changed files with 85 additions and 24 deletions

View File

@@ -69,6 +69,17 @@ export const EntryByUrlBatch2 = gql`
}
all_destination_country_page(where: { url: $url }, locale: $locale) {
items {
seo_filters {
filterConnection {
edges {
node {
... on HotelFilter {
slug
}
}
}
}
}
system {
...System
}
@@ -77,6 +88,17 @@ export const EntryByUrlBatch2 = gql`
}
all_destination_city_page(where: { url: $url }, locale: $locale) {
items {
seo_filters {
filterConnection {
edges {
node {
... on HotelFilter {
slug
}
}
}
}
}
system {
...System
}