The RG does not return data from page url

Hello! I’ve been browsing the forum for hours and it seems to me that I have everything correct but it still doesn’t work! That’s why I decided to ask on the forum.

Button “search” from “index-page” navigates to page “search-result” with voivodeship selected from dropdown (stored in url as parameter “voivo”).

In the page “search result” I have RG:


I have over 100 attractions for each of 3 voivodeships that matches the searching criteria, but my “search result page” doesn’t return any item from database.

Do you have any idea what I’m doing incorrect?

I guess you are setting Get voivo from page url as a Voivo thing type? (can you share screenshot of the Get voivo from Page url?)
If this is the case, you are sending the Value’s id… but you need to send the Value’s unique ID

Thank you for response. Yes - Voivo is thing type (I shared screenshot of the Get voivo from Page url above).

When I set unique ID nothing changes - it still return nothing.

What is the type of voivodeship field? Can you share DB settings?

Also, did you tried to use debug mode and inspect your Search for attractions?

Also, any privacy rules that could affect your search?

I have used debugger - the parameters are sent to url, but still RG doesn’t return appriopriate results. Debugger don’t show what is the reason.

Database contains 3 main datatypes:

  1. Attractions
  2. Localizations (Voivodeships and communes)
  3. Categories (Main category and subcategory)

Each attractions has main fields like:

  • id (number)
  • name (text)
  • voivodeship (voivodeship)
  • commune (commune)
  • main category (category-parent)
  • category (category)

No errors appears but RG return 0 results. When I just use search-engine and not select any criteria, then everything works correctly, so I suppose that the problem is with RG that don’t read the url parameters correctly.

can you send a screenshot of your datasource for the dropdown vivo?.
Also send a screenshot of your database structure
I assume the datatype has a datafield called voivodeship and you related it to another datatype called voivo right?
From what i you should be sending the dropdown value not the id itself as the correct should be actually "doing a search for attractions " and the option display would be whatever field you want to display on the dropdown

Have you set any privacy rule on this tables/fields?

yes, this is the dropdown voivo:

and databse structure

marlon1 - I don’t set any privacy rules.

I don’t think passing the unique_id and then retrieving the parameter as the object works. Since you’re searching anyway, have tried searching for voivos and the criteria is unique_id=get data from page url the id?

Yes it work. What I believe is the issue is somewhere else. Can you share link to your app, if possible to editor in public view mode?

change it to dropdown voivo’s value instead
on the searchresult page ,can you screenshot all elements preceeding the repeating group?
Let me what value you are using to represent the text element
Also, you are also filtering the search result for “attractions”, the data to eh page url you sent is for “vovio”, maybe if you can screenshot the value of the text element on the searchpage