Skip to content

Commit

Permalink
Use selected template in pagesFlatDataTable if there is a select for it
Browse files Browse the repository at this point in the history
  • Loading branch information
krazzer committed Nov 25, 2020
1 parent 25c6e26 commit 14ad9f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/js/datatables/pagesFlatDataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ var PagesFlatDataTable = PagesDataTable.extend({

filters.template = this.template;

this.getTemplateField().each(function () {
filters.template = $(this).val();
});

return filters;
}
});
Loading

0 comments on commit 14ad9f9

Please sign in to comment.