From b3b68cf22f496ecb0f01c7c2e5f507f34154bb90 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 8 May 2015 21:07:07 +0100 Subject: [PATCH] Extend state by overrides AFTER generating filter entries, not before. --- src/mkws-team.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index e5cb746..90f9d4f 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -78,10 +78,10 @@ mkws.makeTeam = function($, teamName) { // Expand the filterSet into a set of key=value properties var state = $.extend(true, {}, m_state); - $.extend(state, overrides ? overrides : {}); var tmp = state.filters; delete state.filters; $.extend(state, tmp.fragmentItems()); + $.extend(state, overrides ? overrides : {}); for (var key in state) { if (state.hasOwnProperty(key) && -- 1.7.10.4