OUGC-Network / OUGC-Thread-Contributors

Displays a list of users who contributed to a discussion
https://ougc.network/entry?threads-ougc-thread-contributors
GNU General Public License v3.0
2 stars 1 forks source link

Broken filter link when using friendly urls #15

Open Sama34 opened 1 year ago

Sama34 commented 1 year ago

Describe the bug When the forum is set to use friendly urls, the filtering link for posts appends the thread action to the generated thread link. This is only necessary when using the core friendly urls feature.

To Reproduce

  1. Enable the code friendly urls feature.
  2. Enable the post filter experimental feature. #7
  3. Go to any thread and click into a contributor username or avatar to filter the thread posts.
  4. See error

Expected behavior If friendly urls are enabled, the generated link should not append any action to the generated thread link.

Additional context Default dynamic urls and Google SEO (plugin) are not affected.

Eldenroot commented 1 year ago

@Sama34 - yes, the fix 15 is working fine! You can merge it! Thank you!