Skip to content

Commit

Permalink
Merge pull request #2756 from SCADA-LTS/fix/#2112_Event_comments_in_D…
Browse files Browse the repository at this point in the history
…ataPointDetails_are_not_working

#2112 Event comments in DataPointDetails are not working  -
  • Loading branch information
Limraj authored Nov 14, 2023
2 parents 5c29246 + f6b8aeb commit a6a54d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/org/scada_lts/mango/service/EventService.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ public List<EventInstance> getPendingEvents(int typeId, int typeRef1, int userId
@Override
public List<EventInstance> getEventsForDataPoint(int dataPointId, int userId) {
int limit = systemSettingsService.getMiscSettings().getEventPendingLimit();
return eventDAO.getEventsForDataPointLimit(dataPointId, userId, limit);
List<EventInstance> lst = eventDAO.getEventsForDataPointLimit(dataPointId, userId, limit);
attachRelationInfo(lst);
return lst;
}

@Override
Expand Down

0 comments on commit a6a54d8

Please sign in to comment.