Georges Haddad eb79b3781f fix: prevent cross-person contamination + fix merge scope matching
Critical fixes:
- Sibling matching now requires BOTH request_number AND search_scope
  (previously matched on request_number alone, mixing different people)
- If page 2 has no search_scope, inheritance is skipped (safe default)
- Inherit search_scope from sibling doc during confirm so merge validation works
- Normalize scope values on both sides when checking merge_allowed
- Merge was blocked because page 2 had empty search_scope, making same_scope always false
2026-04-11 18:11:36 +03:00
S
Description
No description provided
180 KiB
Languages
Python 49.8%
HTML 31.6%
CSS 18.2%
JavaScript 0.4%