fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
429 stars 294 forks source link

Lists for Families or Individuals for subselection "All" #4870

Closed arbor95 closed 10 months ago

arbor95 commented 11 months ago

since version 2.1.14 "All" in list/individuals does not show all the individuals and "All" in list/families does not show all the spouses (families)

arbor95 commented 11 months ago

I suppose this problem can be solved, if you surround line 703 to 708 if ($surnames === []) { // SURN, with no surname $query->where('n_surn', '=', $surname); } else { $query->whereIn($this->binaryColumn('n_surname'), $surnames); } with if ($surname !== '') { } I did not check $surname beeing empty on calling, but should be easy to do for selection of "All".

Export33 commented 10 months ago

And even if you select a family in the list, the result still shows zero results.

JustCarmen commented 10 months ago

This is the same issue as https://github.com/fisharebest/webtrees/issues/4700

JustCarmen commented 10 months ago

I've found a workaround that might work for you too:

https://github.com/fisharebest/webtrees/issues/4700#issuecomment-1722539139