Skip to content

Commit

Permalink
Fixing problem with large categorical filters. Closes #596
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsielicki committed Mar 10, 2016
1 parent 271b34c commit 40a67d4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions web-server/plugins/slycat-parameter-image/js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1321,17 +1321,10 @@ function filters_changed(newValue)
}
filterxhr = $.ajax(
{
// type : "GET",
// url : self.server_root + "models/" + model_id + "/arraysets/data-table/data?hyperchunks=0/index(0)|" + filter_expression + "/...",
type : "POST",
url : self.server_root + "models/" + model_id + "/arraysets/data-table/data",
//data: "hyperchunks=0/index(0)|" + filter_expression + "/...",
data: JSON.stringify({"hyperchunks": "0/index(0)|" + filter_expression + "/..."}),
//data: JSON.stringify({}),
//beforeSend: function(xhr){xhr.setRequestHeader('json', '{"hyperchunks":"0/index(0)|' + filter_expression + '/..."}');},
dataType: 'json',
contentType: "application/json",
// processData: false,
success : function(data)
{
var filter_indices = data[0];
Expand Down

0 comments on commit 40a67d4

Please sign in to comment.