Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zhongnansu opened this issue Jun 14, 2021 · 0 comments
Closed

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

zhongnansu opened this issue Jun 14, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zhongnansu
Copy link
Member

zhongnansu commented Jun 14, 2021

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.

@zhongnansu zhongnansu added the bug Something isn't working label Jun 14, 2021
@zhongnansu zhongnansu changed the title [BUG] Double sorting cause csv report failure [BUG] Double sorting in saved search cause csv report failure Jun 14, 2021
@zhongnansu zhongnansu self-assigned this Jun 15, 2021
@zhongnansu zhongnansu reopened this Jun 16, 2021
kavilla pushed a commit to kavilla/dashboards-reports that referenced this issue Jul 12, 2023
…-project#84)

Signed-off-by: Joshua Li <joshuali925@gmail.com>
(cherry picked from commit 7b51bd9c433cc28ff3f79d4e5f9a1708a322ef97)

Co-authored-by: Joshua Li <joshuali925@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant