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
e54fe04d
Commit
e54fe04d
authored
8 years ago
by
kevalbhatt
Committed by
Madhan Neethiraj
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1638: fix - ui sends same GUID while assigning a tag to multiple entities
Signed-off-by:
Madhan Neethiraj
<
madhan@apache.org
>
parent
40e2e37d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SearchResultLayoutView.js
dashboardv2/public/js/views/search/SearchResultLayoutView.js
+4
-4
No files found.
dashboardv2/public/js/views/search/SearchResultLayoutView.js
View file @
e54fe04d
...
...
@@ -165,7 +165,7 @@ define(['require',
this
.
searchCollection
.
find
(
function
(
item
)
{
if
(
item
.
get
(
'isEnable'
))
{
var
term
=
[];
var
obj
=
model
.
toJSON
();
var
obj
=
item
.
toJSON
();
that
.
arr
.
push
({
id
:
obj
.
guid
,
model
:
obj
...
...
@@ -481,13 +481,13 @@ define(['require',
getTagList
:
function
(
guid
,
multiple
)
{
var
that
=
this
;
if
(
!
multiple
||
multiple
.
length
===
0
)
{
var
mod
a
l
=
this
.
searchCollection
.
find
(
function
(
item
)
{
var
obj
=
model
.
toJSON
();
var
mod
e
l
=
this
.
searchCollection
.
find
(
function
(
item
)
{
var
obj
=
item
.
toJSON
();
if
(
obj
.
guid
===
guid
)
{
return
true
;
}
});
if
(
mod
a
l
)
{
if
(
mod
e
l
)
{
var
obj
=
model
.
toJSON
();
}
else
{
return
[];
...
...
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