Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new activity-sorting link source #32

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Conversation

blairconrad
Copy link
Owner

No description provided.

@@ -24,7 +24,7 @@ function setIssueActivitySortDirection(direction) {
if (dataOrder) {
if (dataOrder == direction) { // we're sorting in the wrong order
// toggle the sort order (forces a page reload)
window.location.replace(sortLink.getAttribute('href'));
window.location.replace(sortLink.getAttribute('data-ajax'));
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh. Maybe guard against missing attribute?

@blairconrad blairconrad merged commit 4342e77 into master Apr 16, 2024
3 checks passed
@blairconrad blairconrad deleted the fix-activity-sorting branch April 16, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant