[Rt-commit] rt branch 5.0/chart-table-links-open-new-tab created. rt-5.0.4-230-g41fb84c203
BPS Git Server
git at git.bestpractical.com
Mon Oct 2 17:52:47 UTC 2023
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/chart-table-links-open-new-tab has been created
at 41fb84c203ea1f22190add1f5aa681831ddda760 (commit)
- Log -----------------------------------------------------------------
commit 41fb84c203ea1f22190add1f5aa681831ddda760
Author: Jason Crome <jcrome at bestpractical.com>
Date: Mon Oct 2 13:49:30 2023 -0400
Open results from chart table in new tab
Clicking on a result from the chart table presently opens search results
in the current tab; clicking on a result in the chart itself opens
search results in a new tab. This change opens chart table results in a
new tab, making the behavior between the two consistent.
diff --git a/share/html/Search/Elements/ChartTable b/share/html/Search/Elements/ChartTable
index 0a745d7ceb..cf13d2984d 100644
--- a/share/html/Search/Elements/ChartTable
+++ b/share/html/Search/Elements/ChartTable
@@ -99,7 +99,7 @@ foreach my $section (qw(thead tbody tfoot)) {
)
)
)
- . '">'
+ . '" target="_blank">'
);
$m->out( $eh->( $cell->{'value'} ) );
$m->out('</a>');
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list