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

Returns all the saved queries on the list and not only the first 50 #145554

Merged
merged 4 commits into from
Nov 18, 2022

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Nov 17, 2022

Summary

Closes #145551

This fixes the bug of the list only displaying the first 50 saved queries. It was using the wrong function. Now we are returning everything.

@stratoula stratoula changed the title Fix saved queries count Returns all the saved queries on the list and not only the first 50 Nov 17, 2022
@stratoula stratoula added release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Unified search Unified search related tasks backport:prev-minor Backport to the previous minor version (i.e. one version back from main) v8.6.0 v8.7.0 labels Nov 17, 2022
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #20 / Spaces app Spaces Space Navigation Menu allows user to navigate to different spaces

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
unifiedSearch 216.2KB 216.2KB -7.0B
Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 59 65 +6
osquery 108 113 +5
securitySolution 441 447 +6
total +19

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 67 73 +6
osquery 109 115 +6
securitySolution 518 524 +6
total +20

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@stratoula stratoula marked this pull request as ready for review November 17, 2022 17:01
@stratoula stratoula requested a review from a team as a code owner November 17, 2022 17:01
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

Copy link
Contributor

@drewdaemon drewdaemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, code review only

@stratoula stratoula merged commit a67bfd1 into elastic:main Nov 18, 2022
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 18, 2022
…lastic#145554)

## Summary

Closes elastic#145551

This fixes the bug of the list only displaying the first 50 saved
queries. It was using the wrong function. Now we are returning
everything.

(cherry picked from commit a67bfd1)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.6

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 18, 2022
…t 50 (#145554) (#145679)

# Backport

This will backport the following commits from `main` to `8.6`:
- [Returns all the saved queries on the list and not only the first 50
(#145554)](#145554)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2022-11-18T06:37:49Z","message":"Returns
all the saved queries on the list and not only the first 50
(#145554)\n\n## Summary\r\n\r\nCloses
#145551 fixes the
bug of the list only displaying the first 50 saved\r\nqueries. It was
using the wrong function. Now we are
returning\r\neverything.","sha":"a67bfd10b2b66eb5277ce619487bbeee32f352bf","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Unified
search","backport:prev-minor","v8.6.0","v8.7.0"],"number":145554,"url":"#145554
all the saved queries on the list and not only the first 50
(#145554)\n\n## Summary\r\n\r\nCloses
#145551 fixes the
bug of the list only displaying the first 50 saved\r\nqueries. It was
using the wrong function. Now we are
returning\r\neverything.","sha":"a67bfd10b2b66eb5277ce619487bbeee32f352bf"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"#145554
all the saved queries on the list and not only the first 50
(#145554)\n\n## Summary\r\n\r\nCloses
#145551 fixes the
bug of the list only displaying the first 50 saved\r\nqueries. It was
using the wrong function. Now we are
returning\r\neverything.","sha":"a67bfd10b2b66eb5277ce619487bbeee32f352bf"}}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to the previous minor version (i.e. one version back from main) Feature:Unified search Unified search related tasks release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.6.0 v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Unified search] The saved query list returns only the first 50 results
5 participants