fix(ui): restore original controls and limit folders to merged findings

This commit is contained in:
ji ruo committed 2026-10-09 13:12:54 +08:00
1 parent d36812b7e1
commit ada09f6c1a
9 files changed
+750 -508

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ func (s *Server) listFindingCases(w http.ResponseWriter, r *http.Request) {
v["assets"] = append([]FindingAssetDTO{}, findingFromDB(&db.DBFinding{AssetIDs: c.AssetIDs}, assets).Assets...)
}
if row.FindingID > 0 {
f, err := s.m.pg.FindingCaseSummary(row.FindingID)
f, err := s.m.pg.FindingCaseSummary(row.FindingID, q.Get("original_rows") == "1")
if err != nil {
caseHTTPError(w, err)
return