Skip to content

Commit e01199d

Browse files
Mutugiiidogi
andauthored
manager: smoother member searching (fixes #9224) (#9225)
Co-authored-by: dogi <[email protected]>
1 parent 1b0f001 commit e01199d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "planet",
33
"license": "AGPL-3.0",
4-
"version": "0.20.52",
4+
"version": "0.20.53",
55
"myplanet": {
6-
"latest": "v0.34.90",
7-
"min": "v0.33.90"
6+
"latest": "v0.35.17",
7+
"min": "v0.34.17"
88
},
99
"scripts": {
1010
"ng": "ng",

src/app/users/users.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class UsersComponent implements OnInit, OnDestroy {
7777
this.isLoading = true;
7878
this.planetType = this.stateService.configuration.planetType;
7979
this.isUserAdmin = this.userService.get().isUserAdmin;
80-
this.route.paramMap.pipe(
80+
this.route.queryParamMap.pipe(
8181
takeUntil(this.onDestroy$)
8282
).subscribe((params: ParamMap) => {
8383
this.applyFilter(params.get('search'));
@@ -96,7 +96,7 @@ export class UsersComponent implements OnInit, OnDestroy {
9696
if (this.isDialog) {
9797
this.applyFilter(searchText);
9898
} else {
99-
this.router.navigate([ '..', searchText ? { search: searchText } : {} ], { relativeTo: this.route });
99+
this.router.navigate([], { relativeTo: this.route, queryParams: { search: searchText || null }});
100100
}
101101
});
102102
this.usersService.requestUserData();

0 commit comments

Comments
 (0)