Make ProductType an OrderedModel

This commit is contained in:
imperosol
2024-12-15 18:55:09 +01:00
parent 6c8a6008d5
commit 483670e798
8 changed files with 167 additions and 100 deletions

View File

@ -88,7 +88,7 @@
</div>
{% endif %}
{% for priority_groups in products|groupby('priority')|reverse %}
{% for priority_groups in products|groupby('order') %}
{% for category, items in priority_groups.list|groupby('category') %}
{% if items|count > 0 %}
<section>