Fix sorted reports table pagination [SCI-10359] (#7304)

This commit is contained in:
Soufiane 2024-03-18 08:35:52 +00:00 committed by GitHub
parent e8417ef083
commit 94b5475728
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,7 @@ module Lists
sort_by = "#{sortable_columns[order_params[:column].to_sym]} #{sort_direction(order_params)}"
@records = @records.order(sort_by)
end
@records = @records.order(:id)
end
def sortable_columns