forked from github/plane
chore: changed default props for worskpace and project members
This commit is contained in:
parent
42d38f7531
commit
a0c1f7c5cf
@ -25,13 +25,26 @@ ROLE_CHOICES = (
|
|||||||
|
|
||||||
def get_default_props():
|
def get_default_props():
|
||||||
return {
|
return {
|
||||||
"filters": {"type": None},
|
"filters": {
|
||||||
"orderBy": "-created_at",
|
"priority": None,
|
||||||
"collapsed": True,
|
"state": None,
|
||||||
"issueView": "list",
|
"state_group": None,
|
||||||
"filterIssue": None,
|
"assignees": None,
|
||||||
"groupByProperty": None,
|
"created_by": None,
|
||||||
"showEmptyGroups": True,
|
"labels": None,
|
||||||
|
"start_date": None,
|
||||||
|
"target_date": None,
|
||||||
|
"subscriber": None,
|
||||||
|
},
|
||||||
|
"display_filters": {
|
||||||
|
"group_by": None,
|
||||||
|
"order_by": '-created_at',
|
||||||
|
"type": None,
|
||||||
|
"sub_issue": True,
|
||||||
|
"show_empty_groups": True,
|
||||||
|
"layout": "list",
|
||||||
|
"calendar_date_range": "",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,26 +16,41 @@ ROLE_CHOICES = (
|
|||||||
|
|
||||||
def get_default_props():
|
def get_default_props():
|
||||||
return {
|
return {
|
||||||
"filters": {"type": None},
|
"filters": {
|
||||||
"groupByProperty": None,
|
"priority": None,
|
||||||
"issueView": "list",
|
"state": None,
|
||||||
"orderBy": "-created_at",
|
"state_group": None,
|
||||||
"properties": {
|
"assignees": None,
|
||||||
|
"created_by": None,
|
||||||
|
"labels": None,
|
||||||
|
"start_date": None,
|
||||||
|
"target_date": None,
|
||||||
|
"subscriber": None,
|
||||||
|
},
|
||||||
|
"display_filters": {
|
||||||
|
"group_by": None,
|
||||||
|
"order_by": '-created_at',
|
||||||
|
"type": None,
|
||||||
|
"sub_issue": True,
|
||||||
|
"show_empty_groups": True,
|
||||||
|
"layout": "list",
|
||||||
|
"calendar_date_range": "",
|
||||||
|
},
|
||||||
|
"display_properties": {
|
||||||
"assignee": True,
|
"assignee": True,
|
||||||
|
"attachment_count": True,
|
||||||
|
"created_on": True,
|
||||||
"due_date": True,
|
"due_date": True,
|
||||||
|
"estimate": True,
|
||||||
"key": True,
|
"key": True,
|
||||||
"labels": True,
|
"labels": True,
|
||||||
|
"link": True,
|
||||||
"priority": True,
|
"priority": True,
|
||||||
|
"start_date": True,
|
||||||
"state": True,
|
"state": True,
|
||||||
"sub_issue_count": True,
|
"sub_issue_count": True,
|
||||||
"attachment_count": True,
|
|
||||||
"link": True,
|
|
||||||
"estimate": True,
|
|
||||||
"created_on": True,
|
|
||||||
"updated_on": True,
|
"updated_on": True,
|
||||||
"start_date": True,
|
}
|
||||||
},
|
|
||||||
"showEmptyGroups": True,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user