Skip to content

Commit

Permalink
Fix DataTable search for User#index
Browse files Browse the repository at this point in the history
The search failed because the actions column was considered a searchable
one but it is not.
  • Loading branch information
saraycp committed Aug 25, 2021
1 parent b28ee9d commit 45c0547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/datatables/user_configuration_datatable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def view_columns
name: { source: 'User.login' },
local_user: { source: 'User.ignore_auth_services', searchable: false },
state: { source: 'User.state' },
actions: {}
actions: { searchable: false }
}
end

Expand Down

0 comments on commit 45c0547

Please sign in to comment.