1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-17 16:10:04 +01:00

Fixed bug with getCustomOptions method when using 0 as a column index argument

This commit is contained in:
Max Guglielmi 2015-09-22 23:04:36 +10:00
commit b1bc351858
9 changed files with 12 additions and 12 deletions

View file

@ -1346,7 +1346,7 @@ export class TableFilter{
* @return {Array}
*/
getCustomOptions(colIndex){
if(!colIndex || !this.isCustomOptions(colIndex)){
if(Types.isEmpty(colIndex) || !this.isCustomOptions(colIndex)){
return;
}