Hello everyone,
I am stuck on a situation where I need to filter RG by date and I am sending the date to the page URL and using Get data from page URL as a constraint in RG but it’s not working.
Edited
Try put a input element and put the get url value on the input. then on the constraint, get the value of that input.
if you don want display that input hide it somewhere or behind a group or elements and dont use the not visible feature it will not work
1- Can you inspect any element that is getting q from url?
I think you need to avoid using “/” in the url
2- Is available from and till are actually a text fields in your db?
3- Do you actually want to use filtering? or do search for?
2- Is available from and till are actually a text fields in your db? Yes they are text fields in DB
3- Do you actually want to use filtering? or do search for? I just want the items to be filtered in anyway, it’s the 3rd day I am stuck on this issue
1- Can you inspect any element that is getting q from url? Here is the screenshot : Screenshot by Lightshot
No worries!
You can actually change the datatype in the database to a date which will 100% because you will then be able to do greater than and less than operations if you want to do a date range