##// END OF EJS Templates
admin: fixed search in user admin page
marcink -
r1090:276bfa3c default
parent child Browse files
Show More
@@ -50,16 +50,18 b''
50 50 $.fn.dataTable.ext.search.push(
51 51 function( settings, data, dataIndex ) {
52 52 var query = $('#q_filter').val();
53 var username = data[1];
54 var email = data[2];
55 var first_name = data[3];
56 var last_name = data[4];
53
54 var username = data[0];
55 var email = data[1];
56 var first_name = data[2];
57 var last_name = data[3];
57 58
58 59 var query_str = username + " " +
59 60 email + " " +
60 61 first_name + " " +
61 62 last_name;
62 if((query_str).indexOf(query) !== -1){
63
64 if ((query_str).indexOf(query) !== -1) {
63 65 return true;
64 66 }
65 67 return false;
General Comments 0
You need to be logged in to leave comments. Login now