+
{% for module in dojo.modules %}
- {% set solves = dojo.solves(user=user, module=module, ignore_visibility=True).all() | map(attribute="challenge_id") | list %}
+ {% set solves = module.solves(user=user, ignore_visibility=True, ignore_admins=False).all() | map(attribute="challenge_id") | list %}
{% set rank, max_rank = ranking(module, user) %}
- {% call(header) accordion_item("{}-modules".format(dojo.reference_id), loop.index) %}
+ {% call(header) accordion_item("{}-modules".format(dojo.hex_dojo_id), loop.index) %}
{% if header %}
{{ module.name }}