You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
/*! © Ulises Gomez / Gravity Lending, SpryMedia Ltd - datatables.net/license */
|
|
!function(t){var u,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(u=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"!=typeof window?module.exports=function(e,n){return e=e||window,n=n||u(e),r(e,n),t(n,0,e.document)}:(r(window,u),module.exports=t(u,window,window.document))):t(jQuery,window,document)}(function(u,e,n,r){"use strict";var i=u.fn.dataTable;return i.Api.register("excludeSearch()",function(n){return this.iterator("table",function(e){e.exclude_search=n}),this}),i.ext.search.push(function(n,e){if(""===n.exclude_search||n.exclude_search===r||null===n.exclude_search)return!0;let t=!0;return e.forEach(e=>{e.toUpperCase().includes(n.exclude_search.toUpperCase())&&(t=!1)}),t}),i.ExcludeSearch=function(e){let n=new i.Api(e),t=u('<div class="mx-3 dataTables_filter"><label>Exclude: </label><input type="text" /></div>');t.find("input").on("input",function(){n.excludeSearch(u(this).val()).draw()}),this.node=function(){return t}},i.ext.feature.push({fnInit:function(e){return new i.ExcludeSearch(e).node()},cFeature:"X"}),i}); |