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
e406603a
Commit
e406603a
authored
7 years ago
by
kevalbhatt
Committed by
Madhan Neethiraj
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2194 : In Basic Search for Tag if any columns are removed then UI throws exception
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
29465efb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SearchResultLayoutView.js
dashboardv2/public/js/views/search/SearchResultLayoutView.js
+3
-3
No files found.
dashboardv2/public/js/views/search/SearchResultLayoutView.js
View file @
e406603a
...
...
@@ -240,10 +240,10 @@ define(['require',
}
}
this
.
triggerUrl
();
if
(
excludeDefaultColumn
.
length
>
this
.
searchCollection
.
filterObj
.
attributes
.
length
)
{
var
attributes
=
this
.
searchCollection
.
filterObj
.
attributes
;
if
(
excludeDefaultColumn
&&
attributes
&&
excludeDefaultColumn
.
length
>
attributes
.
length
)
{
this
.
fetchCollection
(
this
.
value
);
}
}
},
this
);
this
.
listenTo
(
this
.
searchVent
,
"search:refresh"
,
function
(
model
,
response
)
{
...
...
@@ -452,7 +452,7 @@ define(['require',
that
.
ui
.
activePage
.
text
(
that
.
activePage
);
that
.
renderTableLayoutView
();
if
(
value
&&
!
value
.
profileDBView
)
{
if
(
Utils
.
getUrlState
.
isSearchTab
()
&&
value
&&
!
value
.
profileDBView
)
{
var
searchString
=
'Results for: <span class="filterQuery">'
+
CommonViewFunction
.
generateQueryOfFilter
(
that
.
value
)
+
"</span>"
;
if
(
Globals
.
entityCreate
&&
Globals
.
entityTypeConfList
&&
Utils
.
getUrlState
.
isSearchTab
())
{
searchString
+=
"<p>If you do not find the entity in search result below then you can"
+
'<a href="javascript:void(0)" data-id="createEntity"> create new entity</a></p>'
;
...
...
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