Governance: block clear sync errors when synced_only present

This commit is contained in:
萝卜
2026-03-17 00:13:19 +08:00
parent c0e3dffce1
commit 0e8a9797b9
4 changed files with 101 additions and 0 deletions

View File

@@ -2131,6 +2131,9 @@ class PlatformOrderController extends Controller
if ((string) ($filters['syncable_only'] ?? '') === '1') {
return redirect()->back()->with('warning', '当前已勾选「只看可同步」:该集合与「同步失败」互斥,请先取消只看可同步或切到失败集合后再清理。');
}
if ((string) ($filters['synced_only'] ?? '') === '1') {
return redirect()->back()->with('warning', '当前已勾选「只看已同步」:该集合与「同步失败」治理集合无关,请先取消只看已同步或切到失败集合后再清理。');
}
}
$query = PlatformOrder::query()