publishers index alphabetical order

This commit is contained in:
jules 2021-06-17 07:05:43 +02:00
parent 9ad1f24863
commit 5fe7931c68

View File

@ -154,7 +154,6 @@ def artistsindex():
''') ''')
sparql.setReturnFormat(JSON) sparql.setReturnFormat(JSON)
results = sparql.query().convert() results = sparql.query().convert()
print(results)
return render_template('artistsindex.html', results=results) return render_template('artistsindex.html', results=results)
######################### PUBLISHERS INDEX ######################### PUBLISHERS INDEX
@ -178,7 +177,7 @@ def publishersindex():
FILTER(?publishers != wd:Q83) FILTER(?publishers != wd:Q83)
FILTER(?publishers != wd:Q71) FILTER(?publishers != wd:Q71)
} }
ORDER BY DESC(?count) ?publishersLabel ORDER BY ?publishersLabel
''') ''')
sparql.setReturnFormat(JSON) sparql.setReturnFormat(JSON)
results = sparql.query().convert() results = sparql.query().convert()