[#2579] Remove no-op

(sanitize_sql_for_order does not do anything when its argument is a string)
This commit is contained in:
Frederic Merizen 2018-09-25 11:03:29 +02:00
parent d2362c29ed
commit 3bb6fd2d47
2 changed files with 1 additions and 5 deletions

View file

@ -131,7 +131,7 @@ class DossierFieldService
end
if sorted_ids.nil?
sorted_ids = dossiers.includes(includes).where(where).order(Dossier.sanitize_for_order(order)).pluck(:id)
sorted_ids = dossiers.includes(includes).where(where).order(order).pluck(:id)
end
sorted_ids