Skip to content

Commit

Permalink
Merge pull request #5214 from solgenomics/5022_show_stored_analysis
Browse files Browse the repository at this point in the history
"analyses" --> "stored analyses"
  • Loading branch information
lukasmueller authored Dec 5, 2024
2 parents d917144 + 69ea671 commit b8b94bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions lib/SGN/Controller/AJAX/Stock.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1744,13 +1744,7 @@ sub get_stock_stored_analyses :Chained('/stock/get_stock') PathPart('datatables/
=cut

sub get_shared_trials :Path('/stock/get_shared_trials') : ActionClass('REST'){

my sub get_shared_trials_POST :Args(1) {
my ($self, $c) = @_;
$c->stash->{rest} = { error => "Nothing here, it's a POST.." } ;
}
my sub get_shared_trials_GET :Args(1) {
sub get_shared_trials :Path('/stock/get_shared_trials'){

my $self = shift;
my $c = shift;
Expand Down Expand Up @@ -1843,7 +1837,6 @@ my sub get_shared_trials_GET :Args(1) {
}

$c->stash->{rest} = { data => \@formatted_rows, shared_trials => \@shared_trials };
}
}

=head2 action get_stock_trait_list()
Expand Down
2 changes: 1 addition & 1 deletion mason/stock/trials.mas
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $type_name
% if ($type_name eq "accession") {
<div class="panel panel-default">
<div class="panel-body panel-body-sm">
<b> Analyses </b>
<b> Stored Analyses </b>
<br/> <br/>
<table class="table table-hover table-bordered" id="analysis_usage_data">
<thead>
Expand Down

0 comments on commit b8b94bc

Please sign in to comment.