Open akorz opened 5 years ago
Somehow it started to work with
$adapter = new DoctrineORMAdapter($qb, true, false);
What is it?
That's odd. Does it still work if you do this?
$adapter = new DoctrineORMAdapter($qb, true, null);
(i.e. changing false
to null
)
@sampart can confirm it doesn't work with null
. Had the same issue. It works with false
though. Can anyone explain?
@mcbuckets Thanks for checking. I've not had a time to check on my side :(
If anyone wants a bit of context on Output Walkers, https://github.com/whiteoctober/Pagerfanta/issues/220 may help.
I'm afraid I don't understand Doctrine's internals well enough to explain this issue, sorry! @akorz I think you may be on the right lines when you say it's due to the specifics of your model. You could also experiment with passing a more configured querybuilder rather than the standard one you get by only passing an alias to createQueryBuilder
.
Hello,
I have code
the result
But I see following lines in dev.log
So looks like something happens. At least I get right NB count. But empty getCurrentPageResults. May be problem that my Id is CountryID UUID based?