diff --git a/drivers/123/driver.go b/drivers/123/driver.go index 6fdcce33..cc623a82 100644 --- a/drivers/123/driver.go +++ b/drivers/123/driver.go @@ -57,6 +57,7 @@ func (driver Pan123) Items() []base.Item { Type: base.TypeSelect, Values: "name,fileId,updateAt,createAt", Required: true, + Default: "name", }, { Name: "order_direction", @@ -64,6 +65,7 @@ func (driver Pan123) Items() []base.Item { Type: base.TypeSelect, Values: "asc,desc", Required: true, + Default: "asc", }, } } diff --git a/drivers/mediatrack/driver.go b/drivers/mediatrack/driver.go index befd5e5b..9e3ab0ab 100644 --- a/drivers/mediatrack/driver.go +++ b/drivers/mediatrack/driver.go @@ -45,11 +45,12 @@ func (driver MediaTrack) Items() []base.Item { Required: true, }, { - Name: "order_by", - Label: "order_by", - Type: base.TypeSelect, - Values: "updated_at,title,size", - Required: true, + Name: "order_by", + Label: "order_by", + Type: base.TypeSelect, + Values: "updated_at,title,size", + Required: true, + Description: "title", }, { Name: "order_direction", @@ -57,6 +58,7 @@ func (driver MediaTrack) Items() []base.Item { Type: base.TypeSelect, Values: "true,false", Required: true, + Default: "false", }, } } diff --git a/drivers/teambition/driver.go b/drivers/teambition/driver.go index 4d027cc6..17f9d9f0 100644 --- a/drivers/teambition/driver.go +++ b/drivers/teambition/driver.go @@ -51,6 +51,7 @@ func (driver Teambition) Items() []base.Item { Type: base.TypeSelect, Values: "fileName,fileSize,updated,created", Required: true, + Default: "fileName", }, { Name: "order_direction", @@ -58,6 +59,7 @@ func (driver Teambition) Items() []base.Item { Type: base.TypeSelect, Values: "Asc,Desc", Required: true, + Default: "Asc", }, } }