Skip to content

Commit

Permalink
#2112 Event comments in DataPointDetails are not working -
Browse files Browse the repository at this point in the history
* completing comments for the list of events retrieved by the EventService.getEventsForDataPoint method
  • Loading branch information
ga7x committed Oct 30, 2023
1 parent a0671e5 commit f6b8aeb
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 f6b8aeb

Please sign in to comment.