BugFix: ERROR [ExceptionsHandler] column "users.areasServed" must appear in the GROUP BY clause or be used in an aggregate function resolved

This commit is contained in:
2024-09-04 18:15:16 +02:00
parent 7807afbad3
commit 9ecc0c2429
7 changed files with 2 additions and 97 deletions

View File

@@ -31,7 +31,6 @@ export class BrokerListingsComponent {
maxPrice: string;
minPrice: string;
type: string;
states = [];
statesSet = new Set();
state: string;
first: number = 0;
@@ -63,10 +62,7 @@ export class BrokerListingsComponent {
}
});
}
async ngOnInit() {
const statesResult = await this.userService.getAllStates();
this.states = statesResult.map(ls => ({ name: this.selectOptions.getState(ls.state as string), value: ls.state, count: ls.count }));
}
async ngOnInit() {}
async init() {
this.search();
}