We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2582ebf commit e5a5231Copy full SHA for e5a5231
product_portfolio/views.py
@@ -651,6 +651,9 @@ def get_context_data(self, **kwargs):
651
for feature, items in group_by_simple(object_list, "feature").items():
652
objects_by_feature[feature].extend(items)
653
654
+ # Sort the dictionary by features, so "no-features" items are first
655
+ objects_by_feature = dict(sorted(objects_by_feature.items()))
656
+
657
# 4. Inject the Scan data when activated
658
scancodeio = ScanCodeIO(user)
659
display_scan_features = all(
0 commit comments