Commit Graph

4 Commits

Author SHA1 Message Date
Adam Niedzielski ff4d5fc1d0 Fix failures in default sort order spec
Test cases were not waiting for page load after clicking.
This caused failures in test cases that were executed right after
these incorrect ones, because of requests hitting server after
a test was finished.
We do not have to click links, we can go directly to a correct page
by passing parameters in the URL.
2016-12-30 16:44:16 +01:00
Sean McGivern d3acded4bc Handle legacy sort order values
The sort orders used to be id_asc / id_desc, and are now created_asc /
created_desc. Users can still have cookies containing the old sort
orders, or bookmarks to links specifying them, so convert these to the
new versions quietly.
2016-08-18 23:26:07 +01:00
Phil Hughes f668da11cb Updated tests 2016-08-13 00:57:40 -05:00
zs 84a3225b0c State specific default sort order for issuables
Provide more sensible default sort order for issues and merge requests
based on the following table:

| type           | state  | default sort order |
|----------------|--------|--------------------|
| issues         | open   | last created       |
| issues         | closed | last updated       |
| issues         | all    | last created       |
| merge requests | open   | last created       |
| merge requests | merged | last updated       |
| merge requests | closed | last updated       |
| merge requests | all    | last created       |
2016-08-01 11:28:56 +02:00