2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 22:06:28 +00:00

Merge pull request #1350 from SchrodingersGat/recently-updated

Adds "Recently Updated Stock" to index page
This commit is contained in:
Oliver
2021-02-23 14:47:24 +11:00
committed by GitHub
7 changed files with 92 additions and 25 deletions

View File

@ -626,7 +626,7 @@ class PartList(generics.ListCreateAPIView):
queryset = queryset.filter(pk__in=parts_need_stock)
# Limit choices
# Limit number of results
limit = params.get('limit', None)
if limit is not None: