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:
@ -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]
|
||||
|
||||
|
Reference in New Issue
Block a user