From c716db3c8bf356bc5b5627b96572bb7ab788bbbb Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Fri, 18 Aug 2023 11:10:32 +0100 Subject: [PATCH] Fix: #4865 - cannot show single surname after viewing all surnames in individual/family lists --- app/Module/IndividualListModule.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Module/IndividualListModule.php b/app/Module/IndividualListModule.php index d439d29bbb6..6aded426607 100644 --- a/app/Module/IndividualListModule.php +++ b/app/Module/IndividualListModule.php @@ -373,7 +373,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface case 'style1': echo view('lists/surnames-column-list', [ 'module' => $this, - 'params' => ['show' => 'indi'] + $params, + 'params' => ['show' => 'indi', 'show_all' => null] + $params, 'surnames' => $surns, 'totals' => true, 'tree' => $tree, @@ -382,7 +382,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface case 'style3': echo view('lists/surnames-tag-cloud', [ 'module' => $this, - 'params' => ['show' => 'indi'] + $params, + 'params' => ['show' => 'indi', 'show_all' => null] + $params, 'surnames' => $surns, 'totals' => true, 'tree' => $tree, @@ -394,7 +394,7 @@ public function handle(ServerRequestInterface $request): ResponseInterface 'families' => $this->families, 'module' => $this, 'order' => [[0, 'asc']], - 'params' => ['show' => 'indi'] + $params, + 'params' => ['show' => 'indi', 'show_all' => null] + $params, 'surnames' => $surns, 'tree' => $tree, ]);