mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Issue-545: Add description in search index
This commit is contained in:
parent
a52b53a48c
commit
e4aa6aaf85
@ -64,6 +64,7 @@ const SearchClient = ({ searchableData }) => {
|
||||
// } = searchState
|
||||
const dataToSearch = new JsSearch.Search('title')
|
||||
dataToSearch.addIndex('title')
|
||||
dataToSearch.addIndex('description')
|
||||
|
||||
dataToSearch.addDocuments(searchableData)
|
||||
setSearchState({
|
||||
|
Loading…
Reference in New Issue
Block a user