1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 19:52:28 +01:00

Disable search and ordering for action columns

This commit is contained in:
Chaoyi Zha 2016-12-02 20:27:46 -05:00
parent 8f197c97ed
commit ea3ca0e3a4

View File

@ -33,9 +33,9 @@ polr.controller('AdminCtrl', function($scope, $compile) {
{className: 'wrap-text', data: 'email', name: 'email'},
{data: 'created_at', name: 'created_at'},
{data: 'toggle_active', name: 'toggle_active'},
{data: 'toggle_active', name: 'toggle_active', orderable: false, searchable: false},
{data: 'api_action', name: 'api_action', orderable: false, searchable: false},
{data: 'change_role', name: 'change_role'},
{data: 'change_role', name: 'change_role', orderable: false, searchable: false},
{data: 'delete', name: 'delete', orderable: false, searchable: false}
]
}, datatables_config));