Skip to content

Commit e1da759

Browse files
committed
Fix implementation flaw reported at #32
TypeError: '<' not supported between instances of 'dict' and 'dict'
1 parent 872365b commit e1da759

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ in progress
1818
- Tests: Make test case for `explore datasources` use _two_ data sources
1919
- Tests: Mimic Grafana 7/8 on datasource references within dashboards, newer
2020
versions have objects (uid, type) instead of bare names
21+
- Fix implementation flaw reported at #32. Thanks, @IgorOhrimenko and @carpenterbees!
2122

2223

2324
2022-02-03 0.13.1

grafana_wtf/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def collect_datasource_items(element):
495495
ds = dict(ds)
496496
if ds not in items:
497497
items.append(ds)
498-
return sorted(items)
498+
return items
499499

500500
def index_dashboards(self):
501501

0 commit comments

Comments
 (0)