JustCarmen / webtrees-fancy-treeview

Fancy Treeview Module for webtrees

Home Page:http://justcarmen.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: increase maximum number of generations per page / per tab

reteP-riS opened this issue · comments

First of all THANKS for this great module!

I tested performance extensively by increasing the maximum number of generations up to 12 in the following lines, even activating the Show singles option and the Check relationship between partners option in situations where I do have pedigree collapses. Your module works like a charm with lightning speed. Kudos!

<?= view('components/select', ['name' => 'page-limit', 'selected' => $page_limit, 'options' => [1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5]]) ?>

<?= view('components/select', ['name' => 'tab-limit', 'selected' => $tab_limit, 'options' => [1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5]]) ?>

I cannot see any performance degradation and therefore request to increase the maximum number of generations to at least 10 or even 20 and leave it to the webtrees admins to set these limits responsibly for their specific situation.

Nice to hear that the module works well and without performance issues. I will take this on board for the next release.