File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import WebpagesBody from '../../client/components/Insights/WebpagesBody'
1212import styles from '../../client/containers/App.css'
1313
1414const search = window . searchData
15+ console . log ( search )
1516
1617class App extends MediaQueryComponent {
1718 constructor ( props ) {
@@ -122,7 +123,7 @@ class App extends MediaQueryComponent {
122123 title = { search . title }
123124 desc = { search . description }
124125 creator = { search . creator }
125- searchQuery = { search . query . map ( q => q . value ) . join ( ' ' ) }
126+ searchQuery = { search . query . map ( q => q . value . or . map ( t => t . value ) . join ( ' ' ) ) . join ( ' ' ) }
126127 startDate = { search . startDate }
127128 endDate = { search . endDate }
128129 isHome = { this . state . isHome } />
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export class Archive {
4444 const data = {
4545 id : search . id ,
4646 creator : user . name ,
47- query : search . query ,
47+ query : search . queries ,
4848 startDate : search . created ,
4949 endDate : search . updated ,
5050 tweetCount : search . tweetCount ,
You can’t perform that action at this time.
0 commit comments