# Backport
This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Follow ups on variables
(#213040)](#213040)
<!--- Backport version: 9.6.6 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T13:45:27Z","message":"[ES|QL]
Follow ups on variables (#213040)\n\n## Summary\n\nThis PR:\n\n- add an
extra information when hovering over a variable\n<img width=\"479\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/331f7faf-89e9-468d-9887-9d58a2f66ff7\"\n/>\n\n-
passes the variables on the fields retrieval endpoint in the editor
to\nget the fields correctly when there are variables in the
query\n\n\n### Checklist\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"90a345b21a33ce90ffaa49306d61e3ceefb1a56d","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL]
Follow ups on
variables","number":213040,"url":"https://github.com/elastic/kibana/pull/213040","mergeCommit":{"message":"[ES|QL]
Follow ups on variables (#213040)\n\n## Summary\n\nThis PR:\n\n- add an
extra information when hovering over a variable\n<img width=\"479\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/331f7faf-89e9-468d-9887-9d58a2f66ff7\"\n/>\n\n-
passes the variables on the fields retrieval endpoint in the editor
to\nget the fields correctly when there are variables in the
query\n\n\n### Checklist\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"90a345b21a33ce90ffaa49306d61e3ceefb1a56d"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213040","number":213040,"mergeCommit":{"message":"[ES|QL]
Follow ups on variables (#213040)\n\n## Summary\n\nThis PR:\n\n- add an
extra information when hovering over a variable\n<img width=\"479\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/331f7faf-89e9-468d-9887-9d58a2f66ff7\"\n/>\n\n-
passes the variables on the fields retrieval endpoint in the editor
to\nget the fields correctly when there are variables in the
query\n\n\n### Checklist\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"90a345b21a33ce90ffaa49306d61e3ceefb1a56d"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
Summary
This PR:
Checklist