hgweb: fix a bug due to variable name typo
It looks like the "sort" query string parameter was not being
honored properly.
Differential Revision: https://phab.mercurial-scm.org/D2804
--- a/mercurial/hgweb/hgwebdir_mod.py Sat Mar 10 20:51:46 2018 -0800
+++ b/mercurial/hgweb/hgwebdir_mod.py Sat Mar 10 20:54:44 2018 -0800
@@ -481,7 +481,7 @@
sortable = ["name", "description", "contact", "lastchange"]
sortcolumn, descending = sortdefault
if 'sort' in wsgireq.req.qsparams:
- sortcolum = wsgireq.req.qsparams['sort']
+ sortcolumn = wsgireq.req.qsparams['sort']
descending = sortcolumn.startswith('-')
if descending:
sortcolumn = sortcolumn[1:]