Skip to content

Commit 63aa1b0

Browse files
committed
fix: Don't ignore filters when category grouping is disabled
Issue-324: #324
1 parent 76c08ac commit 63aa1b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/python/templates/material/_base/children.html.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Context:
157157

158158
{% if not (obj.is_class and child.name == "__init__" and config.merge_init_into_class) %}
159159

160-
{% if config.filters == "public" or members_list is not none or child.is_public %}
160+
{% if config.filters == "public" or members_list is not none or (not child.is_imported or child.is_public) %}
161161
{% if child.is_attribute %}
162162
{% with attribute = child %}
163163
{% include attribute|get_template with context %}

0 commit comments

Comments
 (0)