Skip to content

Commit 8e7351d

Browse files
authored
Another fix for the script name (#145)
1 parent 0ef686f commit 8e7351d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/views/search.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ block content
202202
span
203203
- const extras = `Go to test result.\n${test.connectivity?'Connectivity:' + test.connectivity + '\n':''}Added date:${dayjs(test.added_date).format(nconf.get('dateformat'))} ${test.run_date?'\nRun date:' + dayjs(test.run_date).format(nconf.get('dateformat')):''}`
204204
if test.result_url
205-
a(href=test.result_url title=extras) #{test.url ? shortURL(test.url, true) : test.scripting_name}
205+
a(href=test.result_url title=extras) #{test.url ? shortURL(test.url, true) : fixScriptName(test.scripting_name)}
206206
else
207207
span #{test.url ? shortURL(test.url, true) : fixScriptName(test.scripting_name)}
208208
td

0 commit comments

Comments
 (0)