diff --git a/app/helpers/mass_build_helper.rb b/app/helpers/mass_build_helper.rb index a630d8f99..d3821129f 100644 --- a/app/helpers/mass_build_helper.rb +++ b/app/helpers/mass_build_helper.rb @@ -38,7 +38,7 @@ module MassBuildHelper datatable( COLUMNS, { - sort_by: "[0, 'asc']", + sort_by: "[0, 'desc']", search_label: '', placeholder: t('layout.mass_builds.placeholder.description'), processing: t('layout.processing'), diff --git a/app/views/projects/build_lists/show.html.haml b/app/views/projects/build_lists/show.html.haml index e7e0a4e0c..497fe710b 100644 --- a/app/views/projects/build_lists/show.html.haml +++ b/app/views/projects/build_lists/show.html.haml @@ -117,7 +117,9 @@ - if @build_list.mass_build_id.present? .leftlist= t("activerecord.attributes.mass_build_id") - .rightlist= link_to @build_list.mass_build.name, platform_mass_builds_path(@build_list.save_to_platform) + - path = platform_mass_build_path(@build_list.save_to_platform, @build_list.mass_build_id) + .rightlist= link_to @build_list.mass_build.name, path + .both %div{'ng-show' => 'build_list.advisory'}