Skip to content

Commit

Permalink
Merge pull request #616 from akashgp09/search-collection
Browse files Browse the repository at this point in the history
[BB-619]: Search results should not contain private collections
  • Loading branch information
MonkeyDo committed May 5, 2021
2 parents 124ef7b + 9ee6418 commit 2f6246b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/helpers/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export async function generateIndex(orm) {
}));
await _processEntityListForBulk(processedEditors);

const userCollections = await UserCollection.forge()
const userCollections = await UserCollection.forge().where({public: true})
.fetchAll();
const userCollectionsJSON = userCollections.toJSON();

Expand Down

0 comments on commit 2f6246b

Please sign in to comment.