team.filters returns the filterSet object, not its list.
authorMike Taylor <mike@indexdata.com>
Wed, 23 Apr 2014 16:16:00 +0000 (17:16 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 23 Apr 2014 16:16:00 +0000 (17:16 +0100)
src/mkws-team.js

index e1cadb7..2bf3bcb 100644 (file)
@@ -40,7 +40,7 @@ function team($, teamName) {
     that.currentPage = function() { return m_currentPage; };
     that.currentRecordId = function() { return m_currentRecordId; };
     that.currentRecordData = function() { return m_currentRecordData; };
-    that.filters = function() { return m_filterSet.list(); };
+    that.filters = function() { return m_filterSet; };
     that.config = function() { return m_config; };
 
     // Accessor methods for individual widgets: writers