elasticsearch4idea icon indicating copy to clipboard operation
elasticsearch4idea copied to clipboard

Keep columns filtering/order when query changes in REST Console table view on error

Open SosthenG opened this issue 1 year ago • 1 comments

Is your feature request related to a problem?

Yes, to test a query I need to see only specific fields in a custom order so I use the "filter fields" option and move the columns in the order I need. EDIT: When an error occurs after I modify a query, the filtered fields & the order is lost. ~~When I modify the query: the filtered fields & the order is lost.~~

Describe the solution you'd like

EDIT: Keep the saved order and filters even when an error occurs.

Additional context

Of course for the "filter fields" part, the workaround is to just filter the source in the query which I did, but I don't have a workaround for the column order.

SosthenG avatar May 16 '24 12:05 SosthenG

Well after I wrote this I noticed that I did not reproduced everytime. It seems to only happens when an error occurs. As when debugging a query errors (even just syntax) will probably occurs, it would be nice if the order/filters were preserved.

SosthenG avatar May 16 '24 13:05 SosthenG