Browse Source

publishers index alphabetical order

master
jules 3 years ago
parent
commit
5fe7931c68
  1. 3
      daapinterface.py

3
daapinterface.py

@ -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()

Loading…
Cancel
Save