Query: Navigation filter + navigation group by + order by grouping key throws exception #7904
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
In general I have this error then using Telerik kendo grid with EF core when I try to use group by
I reproduced this behaviour in pure linq query
so model is
Person, Term, Level is also models
so this works
_context.Registers.Include(i => i.Teacher).Include(i => i.Term).Include(i => i.Level).Include(i => i.Students).GroupBy(g => g.Level.Title).OrderBy(o=>o.Key);
and this does not
_context.Registers.Include(i => i.Teacher).Include(i => i.Term).Include(i => i.Level).Include(i => i.Students).Where(w => w.Term.TermId == TermId).GroupBy(g => g.Level.Title).OrderBy(o=>o.Key);
Query with WHERE clause but without GROUPBY also works fine
exception itself
Update
if I split this query to
all works fine
The text was updated successfully, but these errors were encountered: