mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 02:28:43 +00:00
Simple search filtering for part list
- Needs to be 'generecised' - Working well for now
This commit is contained in:
1 parent
08ed128bea
commit
25fcd3e9f1
5 files changed
+99
-19
No files matched your search
@@ -24,7 +24,7 @@ class PartIndex(ListView):
|
||||
context_object_name = 'parts'
|
||||
|
||||
def get_queryset(self):
|
||||
return Part.objects.filter(category=None)
|
||||
return Part.objects.all() # filter(category=None)
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
|
||||
|
||||
Reference in new issue
Block a user