Skip to content
Snippets Groups Projects
Commit 7f8c28bb authored by Henri Queneau's avatar Henri Queneau
Browse files

FEAT #5354 the number of entityIds showed is limited at 3 if there is lot of entities in notes

parent 811ac71c
No related branches found
No related tags found
No related merge requests found
...@@ -261,7 +261,12 @@ if (isset($_REQUEST['load'])) { ...@@ -261,7 +261,12 @@ if (isset($_REQUEST['load'])) {
if (!empty($tabEntityLabel)) { if (!empty($tabEntityLabel)) {
$allEntities = implode(' - ', $tabEntityLabel); $allEntities = implode(' - ', $tabEntityLabel);
$allEntitiesId = implode('<br/>', $tabEntityId); if(count($tabEntityId) > 3){
$allEntitiesId = $tabEntityId[0] .'<br/>'.$tabEntityId[1].'<br/>'.$tabEntityId[2].'<br/>...';
}else{
$allEntitiesId = implode('<br/>', $tabEntityId);
}
} }
......
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