zui icon indicating copy to clipboard operation
zui copied to clipboard

Bad clickable sorts with nested fields

Open philrz opened this issue 1 year ago • 1 comments

Repro is with Brim commit 124d658.

As shown in the attached video, while clicking column headers on a top-level field still has the expected effect of appending sort or sort -r on the active query, if I attempt the same on a nested field like id.orig_h it seems like nothing happens. Also, if I right-click and select one of the sort options, the appended field name lacks the leading id and hence the data does not get sorted. These might be two different bugs but I'm starting them both in the same issue in the event they share a root cause or can otherwise be attacked together.

https://user-images.githubusercontent.com/5934157/190688070-85ebad51-9ebf-4aa2-978e-48ed7dad9c72.mp4

philrz avatar Sep 16 '22 16:09 philrz

Makes sense. I'll take this to account in my table rewrite.

jameskerr avatar Sep 21 '22 17:09 jameskerr