When editing a facet choice inside a facet, still apply constraints from all the other facets to restrict the effect of the change.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@567 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
f9698d77ae
commit
c56a578166
@ -395,7 +395,8 @@ ListFacet.prototype._editChoice = function(choice, choiceDiv) {
|
||||
}])
|
||||
},
|
||||
{
|
||||
includeEngine: false, // we're really changing all rows, not just the visible ones
|
||||
// limit edits to rows constrained only by the other facets
|
||||
engineConfig: ui.browsingEngine.getJSON(false, self),
|
||||
cellsChanged: true
|
||||
},
|
||||
{
|
||||
|
@ -205,7 +205,11 @@ Gridworks.postProcess = function(command, params, body, updateOptions, callbacks
|
||||
|
||||
body = body || {};
|
||||
if (!("includeEngine" in updateOptions) || updateOptions.includeEngine) {
|
||||
body.engine = JSON.stringify(ui.browsingEngine.getJSON());
|
||||
body.engine = JSON.stringify(
|
||||
"engineConfig" in updateOptions ?
|
||||
updateOptions.engineConfig :
|
||||
ui.browsingEngine.getJSON()
|
||||
);
|
||||
}
|
||||
|
||||
var done = false;
|
||||
|
Loading…
Reference in New Issue
Block a user