[#408] fix mass build link; change mass builds default sorting
This commit is contained in:
parent
94605f5ace
commit
26ff56d36c
|
@ -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'),
|
||||
|
|
|
@ -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'}
|
||||
|
|
Loading…
Reference in New Issue