Highly Flexible Lovelace Card - arbitrary contents/columns/rows, regex matched, perfect to show appdaemon created content and anything breaking out of the entity_id + attributes concept
GNU General Public License v3.0
198
stars
23
forks
source link
[FR] Sorting: use a "raw" value instead of "modified" #129
And now sorting works in a wrong way - it sorts MODIFIED strings:
Proposal:
add a per-column option like sort_by_raw (boolean):
false - use a modified string for sorting,
true - use a raw (untouched) string for sorting.
Current workaround - use another modifier which creates "sortable" strings starting by "YYYY/MM/DD":
Consider smth like:
We may sort the table by clicking. Let's sort by "last_triggered":
So far it works OK.
Now assume I need to apply
modify
for thislast_triggered
column:And now sorting works in a wrong way - it sorts MODIFIED strings:
Proposal: add a per-column option like
sort_by_raw
(boolean):false
- use a modified string for sorting,true
- use a raw (untouched) string for sorting.Current workaround - use another modifier which creates "sortable" strings starting by "YYYY/MM/DD":