Closed detrout closed 2 years ago
Hi, @detrout!
Is this still an issue in the latest version of the cell browser (v1.0)? From what I can tell, I can sort categorical metadata fields by "Name".
If it's working for you too, let's close this issue. If it's not working, maybe you can share some exact steps to replicate the error.
Thanks!
Closing this ticket. Feel free to reopen if something still needs to be fixed here!
Using 0.7.7 I added a categorical data set and discovered the Name column wasn't sortable.
It looks like onSortByClick in cellBrowser.js expecting the span that's clicked has an id that ends with Col1. setLegendHeaders adds some nested spans for the categorical data and the event passed to onSortByClick is pointing at
<span class="tpLegendHover" title="click to sort by name"> Name<span...
which has no id attribute
Since the sort test was just looking for an id that ends with Col1 I tried this patch which add an id "tpLgendedInnerCol1" to the span: