Skip to content

Commit b47e629

Browse files
rueckstiessdurran
authored andcommitted
only reset the 5 query options when restoring the query (#808)
1 parent 009c95c commit b47e629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal-packages/query/lib/store/query-store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ const QueryStore = Reflux.createStore({
201201
}
202202

203203
// convert all query inputs into their string values and validate them
204-
let inputStrings = _.mapValues(query, EJSON.stringify);
204+
let inputStrings = _.mapValues(_.pick(query, QUERY_PROPERTIES), EJSON.stringify);
205205
let inputValids = _.mapValues(inputStrings, (val, label) => {
206206
return this._validateInput(label, val) !== false;
207207
});

0 commit comments

Comments
 (0)