mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-08 01:16:40 +02:00
Removed col_date_type option from test-empty-cells-filtering
This commit is contained in:
parent
e73471e10a
commit
b882404fe3
|
@ -2,7 +2,8 @@
|
||||||
// issue 162 - https://github.com/koalyptus/TableFilter/issues/162
|
// issue 162 - https://github.com/koalyptus/TableFilter/issues/162
|
||||||
var tf = new TableFilter('demo', {
|
var tf = new TableFilter('demo', {
|
||||||
base_path: '../dist/tablefilter/',
|
base_path: '../dist/tablefilter/',
|
||||||
col_date_type: ['DMY']
|
locale: 'en-GB',
|
||||||
|
col_types: ['date', 'string']
|
||||||
});
|
});
|
||||||
tf.init();
|
tf.init();
|
||||||
|
|
||||||
|
@ -17,7 +18,7 @@
|
||||||
// assert
|
// assert
|
||||||
deepEqual(tf.getValidRows().length, 0, 'Expected filtered rows');
|
deepEqual(tf.getValidRows().length, 0, 'Expected filtered rows');
|
||||||
});
|
});
|
||||||
test('Can filter DMY date type', function(){
|
test('Can filter dd.MM.yyyy date type', function(){
|
||||||
// setup
|
// setup
|
||||||
tf.clearFilters();
|
tf.clearFilters();
|
||||||
// act
|
// act
|
||||||
|
|
Loading…
Reference in a new issue