Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
1cc0209a
Commit
1cc0209a
authored
Jun 01, 2016
by
Sean McGivern
Committed by
Alfredo Sumaran
Jun 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix style
- `reorder(nil)` is better than `reorder('')` - Only use ASCII in comments
parent
b28237b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/shared/_issues.html.haml
app/views/shared/_issues.html.haml
+1
-1
spec/features/projects/labels/issues_sorted_by_priority_spec.rb
...eatures/projects/labels/issues_sorted_by_priority_spec.rb
+2
-1
No files found.
app/views/shared/_issues.html.haml
View file @
1cc0209a
-
if
@issues
.
reorder
(
''
).
any?
-
if
@issues
.
reorder
(
nil
).
any?
-
@issues
.
group_by
(
&
:project
).
each
do
|
group
|
.panel.panel-default.panel-small
-
project
=
group
[
0
]
...
...
spec/features/projects/labels/issues_sorted_by_priority_spec.rb
View file @
1cc0209a
# coding: utf-8
require
'spec_helper'
feature
'Issue prioritization'
,
feature:
true
do
...
...
@@ -72,7 +73,7 @@ feature 'Issue prioritization', feature: true do
issue_7
.
labels
<<
label_2
# 5
issue_2
.
labels
<<
label_3
# 6
issue_4
.
labels
<<
label_4
# 7
issue_6
.
labels
<<
label_5
# 8
–
No priority
issue_6
.
labels
<<
label_5
# 8
-
No priority
login_as
user
visit
namespace_project_issues_path
(
project
.
namespace
,
project
,
sort:
'priority'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment