Skip to content
Snippets Groups Projects
Commit 551b6fae authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1054657][Person Index affectedIds retrurn [null]]

parent 06d53ab8
No related branches found
No related tags found
No related merge requests found
...@@ -49,9 +49,7 @@ switch (tableName) ...@@ -49,9 +49,7 @@ switch (tableName)
break; break;
} }
if (res && res[0]) if (res) {
result.object(res); result.object(res);
}
else
result.object([]);
\ No newline at end of file
...@@ -33,7 +33,10 @@ IndexsearchUtils.getAffectedIdValues = function(fieldname, affectedInfoContainer ...@@ -33,7 +33,10 @@ IndexsearchUtils.getAffectedIdValues = function(fieldname, affectedInfoContainer
affectedIds = [affectedInfoContainer.oldValues[affectedInfoContainer.columns.indexOf(fieldname)]]; affectedIds = [affectedInfoContainer.oldValues[affectedInfoContainer.columns.indexOf(fieldname)]];
break; break;
} }
return affectedIds || []; if(affectedIds.length > 0)
return affectedIds || [];
else
return []
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment