aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-12 11:39:55 -0400
committerbobzel <zzzman@gmail.com>2020-08-12 11:39:55 -0400
commit5117ba5f30afe271095ae92c511844dfe7d0cc85 (patch)
treeb329ebe0141cf690577f59a300e72f1b52612bbb /src/client/views/search
parent08d367f51eb73cf947f07f74c1889605170424f8 (diff)
fixed searching on 'type' to join with parent document
Diffstat (limited to 'src/client/views/search')
-rw-r--r--src/client/views/search/SearchBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 36b490839..25baaa0b9 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -756,7 +756,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc
const endIndex = 30;
//this._endIndex = endIndex === -1 ? 12 : endIndex;
this._endIndex = 30;
- const headers = new Set<string>(["title", "author", "*lastModified"]);
+ const headers = new Set<string>(["title", "author", "*lastModified", "type"]);
if ((this._numTotalResults === 0 || this._results.length === 0) && this._openNoResults) {
if (this.noresults === "") {
this.noresults = "No search results :(";