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
c9c3690f
Commit
c9c3690f
authored
Jul 10, 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
31a77ba2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ee/app/assets/javascripts/test_case_list/components/test_case_list_root.vue
...scripts/test_case_list/components/test_case_list_root.vue
+2
-4
No files found.
ee/app/assets/javascripts/test_case_list/components/test_case_list_root.vue
View file @
c9c3690f
...
...
@@ -5,8 +5,7 @@ import Api from '~/api';
import
createFlash
from
'
~/flash
'
;
import
IssuableList
from
'
~/issuable_list/components/issuable_list_root.vue
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
// eslint-disable-next-line import/no-deprecated
import
{
updateHistory
,
setUrlParams
,
urlParamsToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
updateHistory
,
setUrlParams
,
queryToObject
}
from
'
~/lib/utils/url_utility
'
;
import
{
s__
,
__
}
from
'
~/locale
'
;
import
{
OPERATOR_IS_ONLY
}
from
'
~/vue_shared/components/filtered_search_bar/constants
'
;
...
...
@@ -143,8 +142,7 @@ export default {
},
methods
:
{
updateUrl
()
{
// eslint-disable-next-line import/no-deprecated
const
queryParams
=
urlParamsToObject
(
window
.
location
.
search
);
const
queryParams
=
queryToObject
(
window
.
location
.
search
,
{
gatherArrays
:
true
});
const
{
authorUsername
,
labelName
,
search
}
=
this
.
filterParams
||
{};
const
{
currentState
,
sortedBy
,
currentPage
,
prevPageCursor
,
nextPageCursor
}
=
this
;
...
...
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