Browse Source

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
changes/76/815776/1
Michal Nasiadka 3 months ago
parent
commit
cb0babfbd9
  1. 2
      gerrit_dash_creator/cmd/creator.py

2
gerrit_dash_creator/cmd/creator.py

@ -43,7 +43,7 @@ def generate_dashboard_url(dashboard):
try:
baseurl = dashboard.get('dashboard', 'baseurl')
except configparser.NoOptionError:
baseurl = 'https://review.opendev.org/#/dashboard/?'
baseurl = 'https://review.opendev.org/dashboard/?'
url = baseurl
url += escape(urllib_parse.urlencode({'title': title,

Loading…
Cancel
Save