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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user