Skip to content

Commit 06738ca

Browse files
committed
Fix
1 parent a914329 commit 06738ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

landolfio/inventory_frontend/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_context_data(self, **kwargs):
4949
# Get categories with counts
5050
context["categories"] = Category.objects.annotate(
5151
asset_count=Count("asset")
52-
).order_by("-asset_count")[:5]
52+
).order_by("-asset_count")
5353

5454
# Get locations with counts
5555
context["locations"] = Location.objects.annotate(

0 commit comments

Comments
 (0)