mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Smarter caching of database responses
This commit is contained in:
@@ -23,6 +23,11 @@ def instructions(keys):
|
||||
elif filterkeys.get("artist") is not None:
|
||||
#limitkey["artist"], limitkey["associated"] = keys.get("artist"), (keys.get("associated")!=None)
|
||||
limitstring += "of " + artistLink(filterkeys.get("artist"))
|
||||
# associated are counted by default
|
||||
data = database.artistInfo(filterkeys["artist"])
|
||||
moreartists = data["associated"]
|
||||
if moreartists != []:
|
||||
limitstring += " <span class='extra'>including " + artistLinks(moreartists) + "</span>"
|
||||
|
||||
limitstring += " " + timekeys["timerange"].desc(prefix=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user