Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(search): fix access pie click
Browse files Browse the repository at this point in the history
- was adding extra file_id to query

Closes #887
  • Loading branch information
Shane Wilson committed Jun 4, 2015
1 parent 75dc2da commit 97c5a5e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/scripts/search/search.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,6 @@ module ngApp.search.services {
open: {
params: {
filters: $filter("makeFilter")([
{
name: "files.file_id",
value: _.pluck(_.filter(this.files, (file) => {
return file.access === "open";
}), "file_id")
},
{
name: "files.access",
value: "open"
Expand All @@ -152,12 +146,6 @@ module ngApp.search.services {
"protected": {
params: {
filters: $filter("makeFilter")([
{
name: "files.file_id",
value: _.pluck(_.filter(this.files, (file) => {
return file.access === "protected";
}), "file_id")
},
{
name: "files.access",
value: "protected"
Expand Down

0 comments on commit 97c5a5e

Please sign in to comment.