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
497ee293
Commit
497ee293
authored
Jul 11, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate the deprecated "urlParamsToObject" to "queryToObject"
Changelog: other EE: true
parent
fa288857
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
app/assets/javascripts/boards/stores/actions.js
app/assets/javascripts/boards/stores/actions.js
+2
-4
ee/app/assets/javascripts/boards/stores/actions.js
ee/app/assets/javascripts/boards/stores/actions.js
+2
-4
No files found.
app/assets/javascripts/boards/stores/actions.js
View file @
497ee293
...
...
@@ -20,8 +20,7 @@ import issueMoveListMutation from 'ee_else_ce/boards/graphql/issue_move_list.mut
import
{
getIdFromGraphQLId
}
from
'
~/graphql_shared/utils
'
;
import
createGqClient
,
{
fetchPolicies
}
from
'
~/lib/graphql
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
// eslint-disable-next-line import/no-deprecated
import
{
urlParamsToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
queryToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
formatBoardLists
,
...
...
@@ -80,8 +79,7 @@ export default {
performSearch
({
dispatch
})
{
dispatch
(
'
setFilters
'
,
// eslint-disable-next-line import/no-deprecated
convertObjectPropsToCamelCase
(
urlParamsToObject
(
window
.
location
.
search
)),
convertObjectPropsToCamelCase
(
queryToObject
(
window
.
location
.
search
,
{
gatherArrays
:
true
})),
);
if
(
gon
.
features
.
graphqlBoardLists
)
{
...
...
ee/app/assets/javascripts/boards/stores/actions.js
View file @
497ee293
...
...
@@ -16,8 +16,7 @@ import * as typesCE from '~/boards/stores/mutation_types';
import
{
getIdFromGraphQLId
}
from
'
~/graphql_shared/utils
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
historyPushState
,
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
// eslint-disable-next-line import/no-deprecated
import
{
mergeUrlParams
,
removeParams
,
urlParamsToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
mergeUrlParams
,
removeParams
,
queryToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
fullEpicId
,
...
...
@@ -117,8 +116,7 @@ export default {
performSearch
({
dispatch
,
getters
})
{
dispatch
(
'
setFilters
'
,
// eslint-disable-next-line import/no-deprecated
convertObjectPropsToCamelCase
(
urlParamsToObject
(
window
.
location
.
search
)),
convertObjectPropsToCamelCase
(
queryToObject
(
window
.
location
.
search
,
{
gatherArrays
:
true
})),
);
if
(
getters
.
isSwimlanesOn
)
{
...
...
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