Fix broken switch statement
This commit is contained in:
parent
8dea3f83bc
commit
23277a9159
@ -70,13 +70,7 @@ func NewSortConfig() qEntrySortConfig {
|
|||||||
func isQEntryAttribute(attributeName string) bool {
|
func isQEntryAttribute(attributeName string) bool {
|
||||||
var isValidAttribute bool
|
var isValidAttribute bool
|
||||||
switch attributeName {
|
switch attributeName {
|
||||||
case "Id":
|
case "Id", "Status", "Date", "Size", "Sender", "Recipients", "Reason":
|
||||||
case "Status":
|
|
||||||
case "Date":
|
|
||||||
case "Size":
|
|
||||||
case "Sender":
|
|
||||||
case "Recipients":
|
|
||||||
case "Reason":
|
|
||||||
isValidAttribute = true
|
isValidAttribute = true
|
||||||
default:
|
default:
|
||||||
isValidAttribute = false
|
isValidAttribute = false
|
||||||
|
Loading…
Reference in New Issue
Block a user