Skip to content

Commit b8b04f9

Browse files
authored
Merge pull request #54 from fedwiki/fix-search
fix SEARCH keyword
2 parents c55889b + 06961ce commit b8b04f9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wiki-plugin-activity",
3-
"version": "0.7.0",
3+
"version": "0.7.1-0",
44
"description": "Federated Wiki - Activity Plug-in",
55
"keywords": [
66
"wiki",

src/client/activity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ const bind = ($item, item) => {
410410
}
411411
}
412412
if (query.searchTerm && willInclude) {
413-
if (!query.searchResults.finds.some(finds => finds.page === e[0].page)) {
413+
if (!query.searchResults.finds.some(finds => finds.page.slug == e[0].page.slug)) {
414414
willInclude = false
415415
omitted++
416416
}

0 commit comments

Comments
 (0)