Order by and Category filter not working in Anspress 4.0

10.45K viewsWordPress
1

The orderby and category is working on the Base page, but doesn’t work when using shortcode [anspress]

Also, the sortby parameter is not working using the shortcode.

I am using the latest master

The last commit fixed it, however it’s still broken on profile pages, under Q&A

I’m also facing the same issue, the user’s question’s list isn’t able to paginate
Also the orderby filter isn’t working as intended – example selecting unanswered,
order’s by unanswered but on other pages like page 2 it isn’t sorting.

0

Hi Rahul,

I have same issue. Order filters dont work for me.

My WP : http://muhendisasistani.com/asistanblog/topluluk/

Thanks

commented on answer

Its working for me. Please create new questions for your issues.

I tried creating new questions but when i choose order by unanswered it also shows answered questions too…

0

same with me, when clicking category, nothing happened

commented on answer

Hi Zikri,

just to confirm, this happens only when using the shortcode right?
And the filters : order by and category are not working, the behavior is the same as in this link https://d.anspress.io/

Hi Rahul, can you suggest a fix for this, this isn’t a caching issue. I installed wordpress on a fresh VM and the problem is still there. I tested with yesterday’s master. This happens when the shortcode is used. For some reason the js files are not being included.

hi Charles, after reinstalling from wp.org, the issue’s gone.

Hi Zikri, are you using the shortcode? Im still having the issue

yes, I am using shortcode

0

Hi Rahul,

I updated it worked after your reply, I updated it again and the problem is back.

commented on answer

Hello Charles,
You updated from master branch, right?

0

Hello,

This issue was fixed a day ago. Please update AnsPress and try.

Cheers.

commented on answer

Hi Rahul,

Appreciate the hard work and effort put in this plugin.

The issue is still there, I updated again from the master branch. clicking on the orderby and category links do not work.

Please share your link so that I can check if there is any JS error.