diff --git a/src/main/java/com/epam/ta/reportportal/dao/TestItemRepository.java b/src/main/java/com/epam/ta/reportportal/dao/TestItemRepository.java index b7a53dfcd..017051726 100644 --- a/src/main/java/com/epam/ta/reportportal/dao/TestItemRepository.java +++ b/src/main/java/com/epam/ta/reportportal/dao/TestItemRepository.java @@ -572,8 +572,6 @@ Optional findLatestIdByTestCaseHashAndLaunchIdAndParentId( INNER JOIN launch l ON ti.launch_id = l.id WHERE ti.item_id IN (:ids) AND l.project_id = :projectId - ORDER BY ti.item_id """, nativeQuery = true) - List findAllByItemIdInAndProjectId(@Param("ids") Collection ids, - @Param("projectId") Long projectId); + List findAllByItemIdInAndProjectId(@Param("ids") Collection ids, @Param("projectId") Long projectId); }