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