Now only member categories that are used by active member data are listed in the...
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 21 Oct 2016 19:51:59 +0000 (15:51 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 21 Oct 2016 19:51:59 +0000 (15:51 -0400)
commit53625a65fd28f426fc24dd46110c4b259689d982
tree8ee1481b2b3f1a76f099839e7c00f050dfd4f71f
parentbe4df2e47bd47ee6d664c00a487dd057f1ed75c6
Now only member categories that are used by active member data are listed in the category search pick-list.

Added a second parameter, $forActiveMembers,  to getListSortedParentChild() that returns an organized list of member categories.
Added a "WHERE" clause that is used to select categories when $forActiveMembers is true that limit the category list to those used in active members info records.
Added "true" as the $forActiveMembers parameter in the members "list.php" where getListSortedParentChild() is used to get categories for the filter picklist.
classes/data/dataCategories.php
models/front/members/list.php