Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vanilla/applications/dashboard/views/email/email-basic.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
margin-bottom: 15px'>{$email.message}</p>
{if $email.button}
<div style="margin: 0;padding: 0; text-align: center">
<a class="button" href="{$email.button.url}" style="margin: 0;padding: 0;color: {$email.button.textColor};
<a class="button" href="{$email.button.url}" style="margin: 0;padding: 0;color: #137d60;
cursor: pointer;display: inline-block;" rel=" noopener noreferrer" target="_blank">{$email.button.text}</a>
</div>
{/if}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ public function all($Category = '', $displayAs = '') {
}
// FIX: https://github.com/topcoder-platform/forums/issues/422
// Sorting for Flat type in SQL
if($displayAs != 'Flat') {
if($displayAs != 'Flat' && $Category) {
if ($this->data('CategorySort')) {
if ($this->data('CategorySort') == self::SORT_OLDEST_POST) {
usort($categoryTree, function ($a, $b) {
Expand Down