Commit 35e0653b by Rashid Khan

Fix unpinned queries re: @yahiko

parent 34a2f0b3
......@@ -219,7 +219,7 @@ function (angular, _, config, kbn) {
case 'pinned':
return _.pluck(_.where(self.list,{pin:true,enable:true}),'id');
case 'unpinned':
return _.difference(self.ids,_.pluck(_.where(self.list,{pin:true,enable:true}),'id'));
return _.pluck(_.where(self.list,{pin:false,enable:true}),'id');
case 'selected':
return _.intersection(_.pluck(_.where(self.list,{enable:true}),'id'),config.ids);
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment