Closed pkly closed 1 year ago
Stale issue message
in the event that only fields that do something during render are specified
I'm not sure I understand this use case as it seems like a very exotic edge case, can you elaborate on whether this is an issue worth solving?
As the issue is only upvoted once I'm (perhaps optimistically) assuming this is not a widespread problem.
Stale issue message
I noticed that there's an issue regarding query creation - in the event that only fields that do something during render are specified the table will fail to load outright and Doctrine will throw an error about expecting an expression, as the generated query looks like this:
The fix is simple, if nothing is being selected simply find the primary key and select that instead. The two COUNT calls seem to run just fine, as they search for ids by default so there's no issue there.