feat(BOOK-463): Fetching hotel filters from CMS and using these inside the destination pages and select hotel page
* feat(BOOK-463): Fetching hotel filters from CMS and using these inside the destination pages * fix(BOOK-698): fetch hotel filters from CMS on select hotel page Approved-by: Bianca Widstam
This commit is contained in:
@@ -8,8 +8,8 @@ export const HotelFilter = gql`
|
||||
facility_id
|
||||
category
|
||||
slug
|
||||
sort_order
|
||||
}
|
||||
${System}
|
||||
`
|
||||
|
||||
export const HotelFilterRef = gql`
|
||||
|
||||
14
packages/trpc/lib/graphql/Query/HotelFilters.graphql.ts
Normal file
14
packages/trpc/lib/graphql/Query/HotelFilters.graphql.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { HotelFilter } from "../Fragments/HotelFilter.graphql"
|
||||
|
||||
export const GetHotelFilters = gql`
|
||||
query GetHotelFilters($locale: String!) {
|
||||
all_hotel_filter(locale: $locale) {
|
||||
items {
|
||||
...HotelFilter
|
||||
}
|
||||
}
|
||||
}
|
||||
${HotelFilter}
|
||||
`
|
||||
Reference in New Issue
Block a user