triggerSearch correctly handles the targets parameter once more.
authorMike Taylor <mike@indexdata.com>
Thu, 24 Apr 2014 13:58:16 +0000 (14:58 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 24 Apr 2014 13:58:16 +0000 (14:58 +0100)
src/mkws-team.js

index 796f466..a76c65c 100644 (file)
@@ -267,7 +267,7 @@ function team($, teamName) {
        if (query) m_query = query;
        if (sortOrder) m_sortOrder = sortOrder;
        if (perpage) m_perpage = perpage;
-       if (targets) m_filterSet.add(targetFilter(id, id));
+       if (targets) m_filterSet.add(targetFilter(targets, targets));
 
        var pp2filter = m_filterSet.pp2filter();
        var pp2limit = m_filterSet.pp2limit(limit);