Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: vanilla/addons
...
head fork: vanilla/addons
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 11 additions and 2 deletions.
  1. +9 −0 .gitignore
  2. +2 −2 plugins/Voting/class.voting.plugin.php
View
9 .gitignore
@@ -0,0 +1,9 @@
+*.kpf
+.DS_Store
+Thumbs.db
+*.swp
+_notes
+~*
+.project
+.settings
+.buildpath
View
4 plugins/Voting/class.voting.plugin.php
@@ -193,9 +193,9 @@ public function DiscussionController_BeforeCommentDisplay_Handler($Sender) {
echo
Wrap($AnswerCount.' '.Plural($AnswerCount, 'Comment', 'Comments'), 'strong');
echo ' sorted by '
- .Anchor('Votes', Url('?Sort=popular', TRUE), '', array('rel' => 'nofollow', 'class' => self::CommentSort() == 'popular' ? 'Active' : ''))
+ .Anchor('Votes', Url(DiscussionUrl($Sender->Discussion).'?Sort=popular', TRUE), '', array('rel' => 'nofollow', 'class' => self::CommentSort() == 'popular' ? 'Active' : ''))
.' '
- .Anchor('Date Added', Url('?Sort=date', TRUE), '', array('rel' => 'nofollow', 'class' => self::CommentSort() == 'date' ? 'Active' : ''));
+ .Anchor('Date Added', Url(DiscussionUrl($Sender->Discussion).'?Sort=date', TRUE), '', array('rel' => 'nofollow', 'class' => self::CommentSort() == 'date' ? 'Active' : ''));
?>
</div>
</li>

No commit comments for this range

Something went wrong with that request. Please try again.