Skip to content

Commit

Permalink
Reverse order of cache doc parameters, closes #1149
Browse files Browse the repository at this point in the history
  • Loading branch information
hancush committed Jul 24, 2024
1 parent c91573a commit 5556a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lametro/templatetags/lametro_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def prepare_title(full_text):

@register.filter
def full_text_doc_url(url):
query = {"document_url": url, "filename": "agenda"}
query = {"filename": "agenda", "document_url": url}
pic_query = {"file": PIC_BASE_URL + "?" + urllib.parse.urlencode(query)}

return urllib.parse.urlencode(pic_query)
Expand Down

0 comments on commit 5556a57

Please sign in to comment.