You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-01 22:52:06 +02:00
fix sharing search bug when backend disallowed it #1015
This commit is contained in:
@@ -183,7 +183,7 @@ export class GalleryComponent implements OnInit, OnDestroy {
|
||||
qParams[QueryParams.gallery.sharingKey_query] =
|
||||
this.shareService.getSharingKey();
|
||||
this.router
|
||||
.navigate(['/search', sharing.searchQuery], {queryParams: qParams})
|
||||
.navigate(['/search', JSON.stringify(sharing.searchQuery)], {queryParams: qParams})
|
||||
.catch(console.error);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user