summaryrefslogtreecommitdiff
path: root/modules_v3/families/module.php
diff options
context:
space:
mode:
authorRico Sonntag <magic_sunday@gmx.de>2014-02-18 20:13:46 +0100
committerGreg Roach <fisharebest@gmail.com>2014-02-25 13:47:00 +0000
commit0cb1ed0b0489c3787402524f1db49808b1eae48a (patch)
tree8c8b8213bb35882c1f12549187f27d70bbc51739 /modules_v3/families/module.php
parenta19343995ecb6c9caf30827c0e950919627a746b (diff)
downloadwebtrees-0cb1ed0b0489c3787402524f1db49808b1eae48a.tar.gz
webtrees-0cb1ed0b0489c3787402524f1db49808b1eae48a.tar.bz2
webtrees-0cb1ed0b0489c3787402524f1db49808b1eae48a.zip
Make counting number of individuals per surname optional as not required in individual view, reducing number of database request
Diffstat (limited to 'modules_v3/families/module.php')
-rw-r--r--modules_v3/families/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules_v3/families/module.php b/modules_v3/families/module.php
index bf2f0e8e23..1f2efc260b 100644
--- a/modules_v3/families/module.php
+++ b/modules_v3/families/module.php
@@ -86,7 +86,7 @@ class families_WT_Module extends WT_Module implements WT_Module_Sidebar {
global $WT_IMAGES, $UNKNOWN_NN, $controller;
// Fetch a list of the initial letters of all surnames in the database
- $initials=WT_Query_Name::surnameAlpha(true, false, WT_GED_ID);
+ $initials=WT_Query_Name::surnameAlpha(true, false, WT_GED_ID, false);
$controller->addInlineJavascript('
var famloadedNames = new Array();