##// END OF EJS Templates
hgweb: fix a bug due to variable name typo...
Gregory Szorc -
r36904:97e1dda9 default
parent child Browse files
Show More
@@ -481,7 +481,7 b' class hgwebdir(object):'
481 sortable = ["name", "description", "contact", "lastchange"]
481 sortable = ["name", "description", "contact", "lastchange"]
482 sortcolumn, descending = sortdefault
482 sortcolumn, descending = sortdefault
483 if 'sort' in wsgireq.req.qsparams:
483 if 'sort' in wsgireq.req.qsparams:
484 sortcolum = wsgireq.req.qsparams['sort']
484 sortcolumn = wsgireq.req.qsparams['sort']
485 descending = sortcolumn.startswith('-')
485 descending = sortcolumn.startswith('-')
486 if descending:
486 if descending:
487 sortcolumn = sortcolumn[1:]
487 sortcolumn = sortcolumn[1:]
General Comments 0
You need to be logged in to leave comments. Login now