mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-19 22:47:48 +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:
1 parent
a3ffc01d88
commit
480536a023
3 files changed
+72
-48
No files matched your search
@@ -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