Vyhledavani i ve verejnych POI

This commit is contained in:
Michal Kváček
2024-02-01 14:48:05 +01:00
parent 418469d81c
commit d69ceac14b
3 changed files with 26 additions and 18 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ ${FRAGMENT_POI_LIST_INFO}
`;
export const POI_PUBLIC_LIST = gql`
query poiList($limit: Int!, $offset: Int) {
pointsOfInterest(limit: $limit, offset: $offset, public: true) {
query poiList($limit: Int!, $offset: Int, $search: String) {
pointsOfInterest(limit: $limit, offset: $offset, search: $search, public: true) {
totalItemsCount
items {
...pointOfInterestListInfo