Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Should fix #1300
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Dec 7, 2016
1 parent 3a86ae3 commit c3e187b
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -78,8 +78,10 @@ class RemoteNodeProvider{
paginationHash = "%23" + node.getMetadata().get("paginationData").get("current");
path += paginationHash;
params['remote_order'] = 'true';
if(node.getMetadata().get("remote_order")){
node.getMetadata().get("remote_order").forEach(function(value, key){
let remoteOrderData = node.getMetadata().get("remote_order");
if(remoteOrderData){
if(remoteOrderData._object) remoteOrderData = ProtoCompat.hash2map(remoteOrderData);
remoteOrderData.forEach(function(value, key){
params[key] = value;
});
}
Expand Down

0 comments on commit c3e187b

Please sign in to comment.