Skip to content

Commit

Permalink
Merge pull request #745 from tadast/tt/fix-edit
Browse files Browse the repository at this point in the history
Fix setting params from previous search
  • Loading branch information
yannickwurm committed Jun 7, 2024
2 parents bbc50c7 + 0c74736 commit 45049ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sequenceserver/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def update_searchdata_from_job(searchdata)
# the user hits the back button. Thus we do not test for empty string.
method = job.method.to_sym
if job.advanced && job.advanced !=
searchdata[:options][method][:default].join(' ')
searchdata.dig(:options, method, :default, :attributes).to_a.join(' ')
searchdata[:options] = searchdata[:options].deep_copy
searchdata[:options][method]['last search'] = [job.advanced]
end
Expand Down

0 comments on commit 45049ef

Please sign in to comment.