mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-23 00:12:15 +00:00
FEAT: Improve 'omni'search
- Partialised template - Added to assets header - Added ability to search assets/suppliers - Improved selection logic - Have it display current query
This commit is contained in:
@@ -29,7 +29,7 @@ class AssetAuditForm(AssetForm):
|
||||
|
||||
|
||||
class AssetSearchForm(forms.Form):
|
||||
query = forms.CharField(required=False)
|
||||
q = forms.CharField(required=False)
|
||||
category = forms.ModelMultipleChoiceField(models.AssetCategory.objects.all(), required=False)
|
||||
status = forms.ModelMultipleChoiceField(models.AssetStatus.objects.all(), required=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user