Skip to content

Commit 4bcd9ee

Browse files
committed
streamgraph info message update
1 parent 78e3975 commit 4bcd9ee

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

vis/js/templates/modals/infomodal/subcomponents/StandardSGInfo.jsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const StandardSGInfo = ({
99
serviceName,
1010
serviceDesc,
1111
serviceLogo,
12-
params: { query, customTitle, repo_name, q_advanced },
12+
params: { query, customTitle, sorting, repo_name, q_advanced },
1313
}) => {
1414
let queryString = queryConcatenator([query, q_advanced])
1515
return (
@@ -29,7 +29,20 @@ const StandardSGInfo = ({
2929
</strong>
3030
</>
3131
)}{" "}
32-
over time. It is based on the most relevant documents related to the
32+
over time. It is based
33+
on the{" "}
34+
{(sorting === "most-relevant") ? (
35+
<a
36+
target="_blank"
37+
rel="noreferrer"
38+
href="https://openknowledgemaps.org/faq#faq-most-relevant"
39+
>
40+
most relevant
41+
</a> ) : (
42+
"most recent" )
43+
}
44+
{" "}
45+
documents related to the
3346
main keywords. Up to 1000 documents have been taken into consideration
3447
for the computation of the streamgraph.
3548
</p>

0 commit comments

Comments
 (0)