From 997a274cddec8b213d70069f8a9aa47eaede745e 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 b2d40d167db..e106e359e7e 100644 --- a/app/Module/IndividualListModule.php +++ b/app/Module/IndividualListModule.php @@ -370,7 +370,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, @@ -379,7 +379,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, @@ -391,7 +391,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, ]);