Skip to content

Commit 27d6e9d

Browse files
authored
User can search by description or doc bolck also
1 parent 0dbb844 commit 27d6e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ class="my-prism-editor"
678678
},
679679
filterDocs() {
680680
for (doc of this.docs) {
681-
doc['isHidden'] = !doc['uri'].includes(this.filterTerm)
681+
doc['isHidden'] = (!doc['docBlock'].toLowerCase().includes(this.filterTerm.toLowerCase()) && !doc['uri'].includes(this.filterTerm))
682682
}
683683
},
684684
request(doc) {

0 commit comments

Comments
 (0)