Merge "API v2.46, added 'is_default' field to share group types"
This commit is contained in:
commit
299e102ba5
|
@ -88,6 +88,10 @@ class ShareGroupTypesTable(tables.DataTable):
|
|||
"is_public", verbose_name=_("Visibility"),
|
||||
filters=(lambda d: 'public' if d is True else 'private', ),
|
||||
)
|
||||
is_default = tables.Column(
|
||||
"is_default", verbose_name=_("Is default"),
|
||||
filters=(lambda d: 'Yes' if d is True else '-', ),
|
||||
)
|
||||
|
||||
def get_object_display(self, share_group_type):
|
||||
return share_group_type.name
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Adds ‘is_default’ field to share group types list. the Is_default Column
|
||||
will show 'Yes' if the share group type is default share group type.
|
Loading…
Reference in New Issue