Fix to better support kw tags (alias of tag) (#172)

This commit is contained in:
Chris Caron 2024-02-17 20:21:42 -05:00 committed by GitHub
parent 8fdb6ac9f5
commit b4805f01e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -633,7 +633,7 @@ class NotifyView(View):
# Allow 'tag' value to be specified as part of the URL parameters # Allow 'tag' value to be specified as part of the URL parameters
# if not found otherwise defined. # if not found otherwise defined.
# #
tag = content.get('tag', content.get('tags')) tag = content.get('tag') if content.get('tag') else content.get('tags')
if not tag: if not tag:
# Allow GET parameter over-rides # Allow GET parameter over-rides
if 'tag' in request.GET: if 'tag' in request.GET: