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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
201d7f9a
Commit
201d7f9a
authored
May 04, 2020
by
Fernando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in sorting param for license compliance
* Fix typo in sort_by param
parent
91d99721
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/assets/javascripts/license_compliance/store/modules/list/actions.js
...ascripts/license_compliance/store/modules/list/actions.js
+1
-1
ee/spec/frontend/license_compliance/store/modules/list/actions_spec.js
...end/license_compliance/store/modules/list/actions_spec.js
+2
-2
No files found.
ee/app/assets/javascripts/license_compliance/store/modules/list/actions.js
View file @
201d7f9a
...
...
@@ -21,7 +21,7 @@ export const fetchLicenses = ({ state, dispatch }, params = {}) => {
params
:
{
per_page
:
10
,
page
:
state
.
pageInfo
.
page
||
1
,
sort_by
:
'
classifcation
'
,
sort_by
:
'
classif
i
cation
'
,
sort_direction
:
'
desc
'
,
...
params
,
},
...
...
ee/spec/frontend/license_compliance/store/modules/list/actions_spec.js
View file @
201d7f9a
...
...
@@ -141,7 +141,7 @@ describe('Licenses actions', () => {
const
paramsDefault
=
{
page
:
state
.
pageInfo
.
page
,
per_page
:
10
,
sort_by
:
'
classifcation
'
,
sort_by
:
'
classif
i
cation
'
,
sort_direction
:
'
desc
'
,
};
...
...
@@ -176,7 +176,7 @@ describe('Licenses actions', () => {
const
paramsSent
=
{
...
paramsGiven
,
per_page
:
10
,
sort_by
:
'
classifcation
'
,
sort_by
:
'
classif
i
cation
'
,
sort_direction
:
'
desc
'
,
};
...
...
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