mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 06:22:16 +00:00
Added multi-option search along.
Added auto hiding of categories in search unless selected. Added field allowing to choose whether category auto-hidden Fixes #353
This commit is contained in:
@@ -24,6 +24,7 @@ class AssetStatus(models.Model):
|
||||
verbose_name_plural = 'Asset Statuses'
|
||||
|
||||
name = models.CharField(max_length=80)
|
||||
should_show = models.BooleanField(default=True, help_text="Should this be shown by default in the asset list.")
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
Reference in New Issue
Block a user