mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-12-06 13:01:51 +08:00
fix(ui): restore original controls and limit folders to merged findings
This commit is contained in:
1 parent
d36812b7e1
commit
ada09f6c1a
9 files changed
+750
-508
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user