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
13ac932c
Commit
13ac932c
authored
Jul 06, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate the deprecated "urlParamsToObject" to "queryToObject"
Changelog: changed EE: true
parent
ccaf08c9
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/issues_analytics/filtered_search_issues_analytics.js
...ipts/issues_analytics/filtered_search_issues_analytics.js
+2
-4
No files found.
ee/app/assets/javascripts/issues_analytics/filtered_search_issues_analytics.js
View file @
13ac932c
...
...
@@ -2,8 +2,7 @@ import FilteredSearchManager from 'ee_else_ce/filtered_search/filtered_search_ma
import
IssuableFilteredSearchTokenKeys
from
'
ee_else_ce/filtered_search/issuable_filtered_search_token_keys
'
;
import
FilteredSearchTokenKeys
from
'
~/filtered_search/filtered_search_token_keys
'
;
import
{
historyPushState
}
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
{
__
}
from
'
~/locale
'
;
import
issueAnalyticsStore
from
'
./stores
'
;
...
...
@@ -37,8 +36,7 @@ export default class FilteredSearchIssueAnalytics extends FilteredSearchManager
updateObject
=
(
path
)
=>
{
historyPushState
(
path
);
// eslint-disable-next-line import/no-deprecated
const
filters
=
urlParamsToObject
(
path
);
const
filters
=
queryToObject
(
path
,
{
gatherArrays
:
true
});
issueAnalyticsStore
.
dispatch
(
'
issueAnalytics/setFilters
'
,
filters
);
};
}
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