X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/660a6143ecf1e777f33bd84183ba9e821e1d7a8e..b22ff6242148a9b37baef6c74701fa85a8765adf:/services/api/lib/load_param.rb diff --git a/services/api/lib/load_param.rb b/services/api/lib/load_param.rb index 3e1e8b5eba..e3de05f24f 100644 --- a/services/api/lib/load_param.rb +++ b/services/api/lib/load_param.rb @@ -153,7 +153,7 @@ module LoadParam # Any ordering columns must be selected when doing select, # otherwise it is an SQL error, so filter out invaliding orderings. @orders.select! { |o| - col, dir = o.split + col, _ = o.split # match select column against order array entry @select.select { |s| col == "#{table_name}.#{s}" }.any? }