Skip to content

Fix Error 500 occuring when sorting merge requests by "More weight" or "Less weight"

username-removed-128633 requested to merge 673-fix-sort-by-weight into master

This MR moves weight scopes & sort methods to Issue.

This ensure MergeRequest won't try to sort by weight, which would fail since it doesn't have weight.

It also show the "sort by weight" links only when in the context of issues.

Fixes #673 (closed).

Screenshots

Issues

Screen_Shot_2016-06-20_at_15.41.39


Merge requests

Screen_Shot_2016-06-20_at_15.41.28

Merge request reports