Skip to content

Commit 43f17fc

Browse files
authored
Merge pull request #1 from ckuwanoe/view-column-allowall
View column allowall
2 parents 2f1eb9e + cd4a8de commit 43f17fc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ spec/reports
1515
test/tmp
1616
test/version_tmp
1717
tmp
18+
.idea
19+
.idea/*

lib/ajax-datatables-rails/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def sortable_displayed_columns
195195
def generate_sortable_displayed_columns
196196
@sortable_displayed_columns = []
197197
params[:columns].each_value do |column|
198-
@sortable_displayed_columns << column[:data] if column[:orderable] == 'true'
198+
@sortable_displayed_columns << column[:data] # if column[:orderable] == 'true'
199199
end
200200
@sortable_displayed_columns
201201
end

0 commit comments

Comments
 (0)