From 648d7fd9e8bd65bbe408fc11ff5989dde38a4624 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 8 May 2015 21:11:05 +0100 Subject: [PATCH] Revert to b64fc897f864920691f5395eea44f7d534bd4551 Overrides in urlFragment can after all replace the set of filters. --- src/mkws-team.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index 6f5d7b5..04d83e8 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -77,10 +77,10 @@ mkws.makeTeam = function($, teamName) { var s; // Expand the filterSet into a set of key=value properties - var state = $.extend(true, {}, m_state); + var state = $.extend(true, {}, m_state, overrides ? overrides : {}); var tmp = state.filters; delete state.filters; - $.extend(state, tmp.fragmentItems(), overrides ? overrides : {}); + $.extend(state, tmp.fragmentItems()); for (var key in state) { if (state.hasOwnProperty(key) && -- 1.7.10.4