We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d15862 commit 650cd22Copy full SHA for 650cd22
src/Query/Filter/Field.ts
@@ -342,6 +342,7 @@ export abstract class Field {
342
throw Error(`grouperRegExp() unimplemented for ${this.fieldNameSingular()}`);
343
}
344
345
+ // The $ at end is required to distinguish between group by status and status.name
346
return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)?$`);
347
348
src/Query/Grouper.ts
@@ -34,6 +34,9 @@ export class Grouper {
34
*/
35
public readonly grouper: GrouperFunction;
36
37
+ /**
38
+ * Whether the headings for this group should be reversed.
39
+ */
40
public readonly reverse: boolean;
41
42
constructor(property: string, grouper: GrouperFunction, reverse: boolean) {
0 commit comments