Fix # in dashboard url
Dashboard links should not contain /#/ - it get's redirected and filters don't seem to work (unless page is reloaded). See https://gerrit-review.googlesource.com/c/gerrit/+/321535 Change-Id: I27796395917a091ad3bd077e8e3e494f23373eee
This commit is contained in:
parent
0d829829fc
commit
cb0babfbd9
@ -43,7 +43,7 @@ def generate_dashboard_url(dashboard):
|
|||||||
try:
|
try:
|
||||||
baseurl = dashboard.get('dashboard', 'baseurl')
|
baseurl = dashboard.get('dashboard', 'baseurl')
|
||||||
except configparser.NoOptionError:
|
except configparser.NoOptionError:
|
||||||
baseurl = 'https://review.opendev.org/#/dashboard/?'
|
baseurl = 'https://review.opendev.org/dashboard/?'
|
||||||
|
|
||||||
url = baseurl
|
url = baseurl
|
||||||
url += escape(urllib_parse.urlencode({'title': title,
|
url += escape(urllib_parse.urlencode({'title': title,
|
||||||
|
Loading…
Reference in New Issue
Block a user