|
|
@ -174,10 +174,11 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
|
|
|
|
var titles = [];
|
|
|
|
var titles = [];
|
|
|
|
column.nodes().unique().sort().each(function (d, j) {
|
|
|
|
column.nodes().unique().sort().each(function (d, j) {
|
|
|
|
var title = $(d).attr('data-display');
|
|
|
|
var title = $(d).attr('data-display');
|
|
|
|
|
|
|
|
var searchVal = $(d).attr('data-search');
|
|
|
|
if ($.inArray(title, titles) < 0) {
|
|
|
|
if ($.inArray(title, titles) < 0) {
|
|
|
|
titles.push(title);
|
|
|
|
titles.push(title);
|
|
|
|
if (title !== undefined) {
|
|
|
|
if (title !== undefined) {
|
|
|
|
select.append('<option value="' + title + '">' + title + '</option>')
|
|
|
|
select.append('<option value="' + searchVal + '">' + title + '</option>')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|