I have a landing page which is to show all of the current members of an academic group. This group is to exclude alumni. The memberships of the various groups are categories, so I need to exclude this one particular category. When I try the following code to exclude alumni (category 4), the rest of the category filtering no longer works (i.e. when you click on a group to see the members, all people are listed in every category, instead of being filtered properly). The filtering works once I remove category="not 4" from the channel entries tag, but then the list shows all of the alumni, which is no good. The following is the code for the landing page, which is intended to show all memberships except alumni:
{exp:stash:append name="content"}
<p><strong>Please select a group to see its members:
{exp:channel:categories category_group="1" show="not 4" channel="people" show_empty="no" style="linear" backspace="8"}
<a href="{path='people/index'}" > {category_name}</a> |{/exp:channel:categories}</strong></p>
<br>
{/exp:stash:append}
{exp:channel:category_heading channel="people" show_empty="no"}
{exp:stash:append name="content"}
<h2>{category_name}</h2>
{if category_description}<br /><h4>{category_description}</h4>{/if}
{/exp:stash:append}
{/exp:channel:category_heading}
{exp:stash:append name="content"}
<div id="main" role="main">
<ul id="tiles">
{exp:channel:entries channel="people" status="open" orderby="title" sort="asc" show-expired="no" limit="200" show_future_entries="no" category="not 4"}
<!-- grid blocks -->
<li class="{if "{segment_3}" == "phd_students"}phd{/if}{if "{segment_3}" == "researchers"}researchers{/if}{if "{segment_3}" == "support"}support{/if}{if "{segment_3}" == "masters"}masters{/if}"><img src="{people_img}" width="100" class="biopic"><h3>{people_name}</h3><p>{people_bio}</p>{if people_email}<p><a href="mailto:{people_email}">contact</a></p>{/if}</li>
<!-- End grid blocks -->
{/exp:channel:entries}
</ul>
</div>
{/exp:stash:append}