From 19ce3426c7fc1cf33b1ba9c9c881a94c91161406 Mon Sep 17 00:00:00 2001 From: Silvie Chlupova Date: Jun 07 2021 08:29:18 +0000 Subject: frontend: Forked builds should have forked source_status Fixes: #1539 --- diff --git a/frontend/coprs_frontend/coprs/logic/complex_logic.py b/frontend/coprs_frontend/coprs/logic/complex_logic.py index 4f552bf..0054ff5 100644 --- a/frontend/coprs_frontend/coprs/logic/complex_logic.py +++ b/frontend/coprs_frontend/coprs/logic/complex_logic.py @@ -352,6 +352,7 @@ class ProjectForking(object): fbuild.copr = fcopr fbuild.package = fpackage fbuild.copr_dir = fcopr.main_dir + fbuild.source_status = StatusEnum("forked") db.session.add(fbuild) db.session.flush()