Closed arbor95 closed 11 months ago
perhaps the solution can be like: echo view('lists/surnames-table', [ 'families' => $this->families, 'module' => $this, 'order' => [[0, 'asc']], 'params' => ['show' => 'indi'] + ['show_all' => ''] + $params, 'surnames' => $surns, 'tree' => $tree, ]); in the IndividualListModule.php
I have a similar problem: when I click 'All', then I see all family names. If I select one of them, then I get only 1 person, which does not fit with this name. The same when I click "Show the list of individuals".
It seems to be a bug.
without a link to that case in your site, we can only guess. And we should know which list you called ( indi or family ). If its family it may be the name of the spouse.
perhaps the solution can be like
Thanks. This is the solution.
After loading the fixed module IndividualListModule.php I get following error: all to undefined method Fisharebest\Webtrees\Registry::container() …/app/Module/IndividualListModule.php:123
without a link to that case in your site, we can only guess. And we should know which list you called ( indi or family ). If its family it may be the name of the spouse.
https://mustermann.genonline.de/tree/Mustermann/individual-list?show_all=yes&show_marnm=#
After loading the fixed module IndividualListModule.php I get following error:
I guess you used the version from the main
branch, instead of the 2.1
branch.
Thx, Greg. You are right - wrong branch.
But now, when I click 'All', then I see all family names. When I click "Show the list of individuals" in the next step, I see only one person instead of all. See https://mustermann.genonline.de/tree/Mustermann/individual-list?show_all=yes&show_marnm=#
Seems like this also fixes issue #4700
It seems that the query always returns only those individuals which have one name record (regular, _AKA, _MARNM) without a surname surrounded by slashes!
"All" in list/individuals does not show the individuals and "All" in list/families does not show the spouses (families)
once clicked "All" and then clicked a shown family (for example Armstrong-Jones) I expect only the 5 Armstrong-Jones families are shown, but I get all the families.
all - link: https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo%2Ffamily-list&show_all=yes&show_marnm= Armstrong - link: https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo%2Ffamily-list&surname=Armstrong-Jones&show=indi&show_all=yes&show_marnm= result: https://dev.webtrees.net/demo-stable/index.php?route=%2Fdemo-stable%2Ftree%2Fdemo%2Ffamily-list&alpha=&falpha=&show=indi&show_all=yes&show_all_firstnames=&show_marnm=&surname=ARMSTRONG-JONES