Skip to content

[BUG] Double sorting in saved search cause csv report failure #84

@zhongnansu

Description

@zhongnansu

Describe the bug
When saved search is saved with double sorting, the logic fails to genereate csv. Single sorting doesn't have any issue though.

  • Error message
{"statusCode":500,"error":"Internal Server Error","message":"_order.toLowerCase is not a function"}

To Reproduce
Steps to reproduce the behavior:

  1. open a saved search in Discover
  2. Add double sorting on 2 fields
  3. save that search again

Expected behavior
report being generaeted with corrrect sorting

Plugins
Please list all plugins currently enabled.

Screenshots
If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions