fix bug ttp #9
This commit is contained in:
@@ -11,13 +11,13 @@ export class PbProfileRepository implements ProfileRepository {
|
||||
private pb = new PocketBase(environment.baseUrl);
|
||||
|
||||
list(): Observable<Profile[]> {
|
||||
return from(
|
||||
this.pb.collection('profiles').getFullList<Profile>({
|
||||
sort: 'profession',
|
||||
expand: 'utilisateur',
|
||||
filter: 'utilisateur.verified=true',
|
||||
})
|
||||
);
|
||||
const options = {
|
||||
sort: 'profession',
|
||||
expand: 'utilisateur',
|
||||
filter:
|
||||
"utilisateur.verified=true && utilisateur.name !='' && profession!='Profession non renseignée' && secteur!='' ",
|
||||
};
|
||||
return from(this.pb.collection('profiles').getFullList<Profile>(options));
|
||||
}
|
||||
|
||||
getByUserId(userId: string): Observable<Profile> {
|
||||
|
||||
Reference in New Issue
Block a user