Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
b1350182
Commit
b1350182
authored
8 years ago
by
Kalyani
Committed by
Madhan Neethiraj
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1938: updated search UI to avoid unnecessary calls on Refresh button click
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
ee8c81df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
SearchLayoutView.js
dashboardv2/public/js/views/search/SearchLayoutView.js
+3
-1
No files found.
dashboardv2/public/js/views/search/SearchLayoutView.js
View file @
b1350182
...
...
@@ -235,7 +235,9 @@ define(['require',
},
onRefreshButton
:
function
()
{
this
.
fetchCollection
();
if
(
this
.
searchVent
)
{
//to check url query param contain type or not
var
checkURLValue
=
Utils
.
getUrlState
.
getQueryParams
(
this
.
url
);
if
(
this
.
searchVent
&&
(
_
.
has
(
checkURLValue
,
"tag"
)
||
_
.
has
(
checkURLValue
,
"type"
)
||
_
.
has
(
checkURLValue
,
"query"
)))
{
this
.
searchVent
.
trigger
(
'search:refresh'
);
}
},
...
...
This diff is collapsed.
Click to expand it.
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