Skip to content

Commit

Permalink
Merge branch 'hotfix/mistake_on_has_subgroups'
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lebee committed Mar 22, 2019
2 parents 17e9434 + 1bbd0c9 commit 2446ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PoweredSoft.DynamicQuery/QueryResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class GroupQueryResult<TRecord> : QueryResult<TRecord>, IGroupQueryResult
{
public string GroupPath { get; set; }
public object GroupValue { get; set; }
public bool HasSubGroups => SubGroups != null && SubGroups.Count > 1;
public bool HasSubGroups => SubGroups != null && SubGroups.Count >= 1;
public List<IGroupQueryResult<TRecord>> SubGroups { get; set; }

public bool ShouldSerializeSubGroups() => HasSubGroups;
Expand Down

0 comments on commit 2446ce5

Please sign in to comment.