Describe the bug
Now that a lot more future events have been created, when the reviews page loads, it doesn't find any past events in the first page of results so it doesn't display any and there is no way to force the scroll bar to push the inifinite scroll into action apart from on smaller screens where the scroll bar is there even if only one post loads. then you can push for more. On desktop you can't.
THe data length shows 22 events, but then when you filter for past dates only it only brings through 1 result. It doesn't automatically move onto page 2 of the results to go and find more entries to make up the initial ten max posts.
This is not good.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
I expect it to keep looking through page 2,3, etc. to find 10 valid results which match the filter requirements... but it doesn't,.
Screenshots
Desktop (please complete the following information):
OS:Windows
Browser [e.g. chrome, ]
Additional context
I have tried to filter the results within the UseEffect before mapping it down in the return render, but then I seem to get a lot of errors and nothng displayed. This solution does not work.
I need to figure out how to filter the date earlier before it gets filtered on the render, so that 10 full valid results are shown.
I need to go back and look at the API again I think.
Describe the bug Now that a lot more future events have been created, when the reviews page loads, it doesn't find any past events in the first page of results so it doesn't display any and there is no way to force the scroll bar to push the inifinite scroll into action apart from on smaller screens where the scroll bar is there even if only one post loads. then you can push for more. On desktop you can't.
THe data length shows 22 events, but then when you filter for past dates only it only brings through 1 result. It doesn't automatically move onto page 2 of the results to go and find more entries to make up the initial ten max posts.
This is not good.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect it to keep looking through page 2,3, etc. to find 10 valid results which match the filter requirements... but it doesn't,.
Screenshots
Desktop (please complete the following information):
Additional context I have tried to filter the results within the UseEffect before mapping it down in the return render, but then I seem to get a lot of errors and nothng displayed. This solution does not work.
I need to figure out how to filter the date earlier before it gets filtered on the render, so that 10 full valid results are shown.
I need to go back and look at the API again I think.