Lines 32-39
$(document).ready(function(){
Link Here
|
32 |
aoData.push({ |
32 |
aoData.push({ |
33 |
'name': 'searchmember', |
33 |
'name': 'searchmember', |
34 |
'value': $("#searchmember_filter").val() |
34 |
'value': $("#searchmember_filter").val() |
35 |
}, |
35 |
},{ |
36 |
{ |
36 |
'name': 'name_sorton', |
|
|
37 |
'value': 'borrowers.surname borrowers.firstname' |
38 |
},{ |
39 |
'name': 'category_sorton', |
40 |
'value': 'categories.description', |
41 |
},{ |
42 |
'name': 'branch_sorton', |
43 |
'value': 'branches.branchname' |
44 |
},{ |
37 |
'name': 'template_path', |
45 |
'name': 'template_path', |
38 |
'value': '[% json_template %]', |
46 |
'value': '[% json_template %]', |
39 |
} |
47 |
} |
Lines 58-63
$(document).ready(function(){
Link Here
|
58 |
[% FOR column IN columns %] |
66 |
[% FOR column IN columns %] |
59 |
[% IF column == 'action' %] |
67 |
[% IF column == 'action' %] |
60 |
{ 'mDataProp': 'dt_action', 'bSortable': false } |
68 |
{ 'mDataProp': 'dt_action', 'bSortable': false } |
|
|
69 |
[% ELSIF column == 'address' %] |
70 |
{ 'mDataProp': 'dt_address', 'bSortable': false } |
61 |
[% ELSE %] |
71 |
[% ELSE %] |
62 |
{ 'mDataProp': 'dt_[% column %]' } |
72 |
{ 'mDataProp': 'dt_[% column %]' } |
63 |
[% END %] |
73 |
[% END %] |
64 |
- |
|
|