VolkovLabs / business-text

The Business Text panel plugin allows you to construct a text visualization template from the values of a dataset returned by a data source query.
https://docs.volkovlabs.io
Apache License 2.0
81 stars 13 forks source link

Using {{statusColor}} does the ID have to be last? #282

Closed mellerbeck closed 8 months ago

mellerbeck commented 8 months ago

I have a simple query

SELECT

 line_name
 , 1 as color_id
 , line_status_name 

FROM line_status ORDER BY line_name

This doesn't do a threshold match.

But as soon as I make the ID be last, it starts working.....

SELECT

 line_name
 , line_status_name 
 , 1 as color_id

FROM line_status ORDER BY line_name