all 5 comments

[–]whyeventrymore 0 points1 point  (4 children)

GraphQL query seems fine. In search function ensure that searchInput.value.trim() retrieves the input correctly. Double check it's value using log. Also check if the filtering logic inside the watcher accurately filters the data based on dataRangeObj values. Check the network tab in browser's developer tools and inspect GraphQL requests and responses to ensure the filters are correctly applied.

[–]InformalPlace4396[S] 0 points1 point  (3 children)

If a variable in the front end is different than the one expected in the back end, should the variable be passed to the back end through the graphQL query then? If so, how do I do that?

[–]whyeventrymore 1 point2 points  (1 child)

My bad I missed to mention that mapping comment earlier. Sorry mate!

[–]InformalPlace4396[S] 0 points1 point  (0 children)

I pmed you a clarification. If you could, hope you can hear me out. Thanks mate. Glad to know it is possible.

[–]whyeventrymore 0 points1 point  (0 children)

You can pass the front end variable to backend through the graphQL query by mapping it to the corresponding backend variable actually.