Added boolean filter to xosTable
diff --git a/views/ngXosLib/xosHelpers/spec/ui/table.test.js b/views/ngXosLib/xosHelpers/spec/ui/table.test.js
index 69dadb3..f87eb96 100644
--- a/views/ngXosLib/xosHelpers/spec/ui/table.test.js
+++ b/views/ngXosLib/xosHelpers/spec/ui/table.test.js
@@ -144,6 +144,20 @@
               expect($(td1).find('i')).toHaveClass('glyphicon-ok');
               expect($(td2).find('i')).toHaveClass('glyphicon-remove');
             });
+
+            describe('with field filters', () => {
+              beforeEach(() => {
+                scope.config.filter = 'field';
+                compileElement();
+              });
+
+              it('should render a dropdown for filtering', () => {
+                let td1 = $(element).find('table tbody tr td')[0];
+                console.log(td1);
+                expect(td1).toContainElement('select');
+                expect(td1).not.toContainElement('input');
+              });
+            });
           });
 
           describe('and is date', () => {
@@ -304,12 +318,12 @@
                     type: 'icon',
                     formatter: item => {
                       switch (item['label-1']){
-                        case 1:
-                          return 'ok';
-                        case 2:
-                          return 'remove';
-                        case 3:
-                          return 'plus'
+                      case 1:
+                        return 'ok';
+                      case 2:
+                        return 'remove';
+                      case 3:
+                        return 'plus'
                       }
                     }
                   }