#263 [frontend] redirect to builds table after rebuild
Merged 6 years ago by clime. Opened 6 years ago by frostyx.
copr/ frostyx/copr fix-resubmit-252  into  master

@@ -356,7 +356,7 @@ 

  @req_with_copr

  def copr_new_build_rebuild(copr, build_id):

      view='coprs_ns.copr_new_build'

-     url_on_success = helpers.copr_url("coprs_ns.copr_build", copr, build_id=build_id)

+     url_on_success = helpers.copr_url("coprs_ns.copr_builds", copr)

      return process_rebuild(copr, build_id, view=view, url_on_success=url_on_success)

  

  

Fix #252

Build resubmitting should redirect to the newly created build, not return to the original one.

It should be redirected to builds table though because creating a new build also redirects to the table, not to the detail.

Pull-Request has been merged by clime

6 years ago
Metadata