From 552a9a30bd6a8f8ce57c9887201d4dc905d52df1 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Mon, 4 May 2015 00:04:10 +0200 Subject: [PATCH] sort the "all" nodes by title --- resources/lib/WriteKodiDB.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 2cd24d02..1da2e140 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -1075,6 +1075,7 @@ class WriteKodiDB(): SubElement(root, "match").text = "all" SubElement(root, "content").text = type SubElement(root, "icon").text = "DefaultMovies.png" + SubElement(root, "order", {"direction":"ascending"}).text = "sorttitle" Rule = SubElement(root, "rule", {"field":"tag","operator":"is"}) SubElement(Rule, "value").text = tagname try: