2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

PartThumbTable updates (#9094)

- Change columns based on viewport width
- Use debounced value
- Enable pagination
- Fix pagination on backend API
This commit is contained in:
Oliver
2025-02-18 13:48:44 +11:00
committed by GitHub
parent a3ffc01d88
commit 480536a023
3 changed files with 72 additions and 48 deletions

View File

@ -522,7 +522,10 @@ class PartThumbs(ListAPI):
data = serializer.data
return Response(data)
if page is not None:
return self.get_paginated_response(data)
else:
return Response(data)
filter_backends = [InvenTreeSearchFilter]