We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
2 parents 067df25 + fbe8459 commit 7738758Copy full SHA for 7738758
python/plugins/MetaSearch/util.py
@@ -133,7 +133,12 @@ def get_help_url():
133
"""return QGIS MetaSearch help documentation link"""
134
135
locale_name = QSettings().value('locale/userLocale')[0:2]
136
- version = QGis.QGIS_VERSION.rsplit('.', 1)[0]
+ major, minor = QGis.QGIS_VERSION.split('.')[:2]
137
+
138
+ if minor == '99': # master
139
+ version = 'testing'
140
+ else:
141
+ version = '.'.join([major, minor])
142
143
path = '%s/%s/docs/user_manual/plugins/plugins_metasearch.html' % \
144
(version, locale_name)
0 commit comments