Skip to content

Commit

Permalink
[K5.2] Exact forum post link is missing in search results (#8084)
Browse files Browse the repository at this point in the history
  • Loading branch information
xillibit committed May 13, 2021
1 parent 98277ca commit f076bdc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [5.2.5-dev]
### Fixed
* Exact forum post link is missing in search results
* [#8050](https://github.com/Kunena/Kunena-Forum/issues/8050): Kunena Discuss Error: Rendering Error in layout Topic/Item when topic layout is Threaded or Indented
* [#8033](https://github.com/Kunena/Kunena-Forum/issues/8033): Poll: Notice: Undefined variable: polllifespan - (if the Lifetime field is not filled)
* In backend, in templates list view before to do the request to get the list of premium templates it check if the method to do it are presents in the system
Expand Down
Expand Up @@ -45,7 +45,7 @@
<?php
$subject = $message->displayField('subject');
$msg = $isReply ? 'COM_KUNENA_MESSAGE_REPLIED_NEW' : 'COM_KUNENA_MESSAGE_CREATED_NEW';
echo Text::sprintf($msg, $name, $subject);
echo Text::sprintf($msg, $message->getAuthor()->getLink(), $this->getTopicLink($topic, $message, null, null, KunenaTemplate::getInstance()->tooltips() . ' topictitle', $category, true, false));
?>
</div>
<h3>
Expand Down
Expand Up @@ -44,7 +44,8 @@
<?php
$title = KunenaForumMessage::getInstance()->getsubstr($this->escape($message->subject), 0, $subjectlengthmessage);
$langstr = $isReply ? 'COM_KUNENA_MESSAGE_REPLIED_NEW' : 'COM_KUNENA_MESSAGE_CREATED_NEW';
echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($topic, 'first', null, null, KunenaTemplate::getInstance()->tooltips() . ' topictitle', $category, true, false)); ?>
echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($topic, $message, null, null, KunenaTemplate::getInstance()->tooltips() . ' topictitle', $category, true, false));
?>
</div>
<div class="kmessage">
<?php if (!$isReply)
Expand Down
Expand Up @@ -46,7 +46,7 @@
<?php
$title = KunenaForumMessage::getInstance()->getsubstr($this->escape($message->subject), 0, $subjectlengthmessage);
$langstr = $isReply ? 'COM_KUNENA_MESSAGE_REPLIED_NEW' : 'COM_KUNENA_MESSAGE_CREATED_NEW';
echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($topic, 'first', null, null, KunenaTemplate::getInstance()->tooltips() . ' topictitle', $category, true, false)); ?>
echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($topic, $message, null, null, KunenaTemplate::getInstance()->tooltips() . ' topictitle', $category, true, false)); ?>
</div>
<div class="kmessage">
<?php if (!$isReply)
Expand Down

0 comments on commit f076bdc

Please sign in to comment.