Order by and Category filter not working in Anspress 4.0
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
![](https://secure.gravatar.com/avatar/e4c45bf2932c362ef228c313314893f7?s=30&d=https%3A%2F%2Fanspress.net%2Fwp-content%2Fuploads%2Fap_avatars%2Fe1021d43911ca2c1845910d84f40aeae.jpg&r=g)
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.
Hi Rahul,
I have same issue. Order filters dont work for me.
My WP : http://muhendisasistani.com/asistanblog/topluluk/
Thanks
Its working for me. Please create new questions for your issues.
![](https://secure.gravatar.com/avatar/93e3a04a42740009c02f0a6660f4ee30?s=30&d=https%3A%2F%2Fanspress.net%2Fwp-content%2Fuploads%2Fap_avatars%2F0a2a51dac6138826127f093500461d91.jpg&r=g)
I tried creating new questions but when i choose order by unanswered it also shows answered questions too…
![](https://secure.gravatar.com/avatar/e4c45bf2932c362ef228c313314893f7?s=30&d=https%3A%2F%2Fanspress.net%2Fwp-content%2Fuploads%2Fap_avatars%2Fe1021d43911ca2c1845910d84f40aeae.jpg&r=g)
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/
![](https://secure.gravatar.com/avatar/e4c45bf2932c362ef228c313314893f7?s=30&d=https%3A%2F%2Fanspress.net%2Fwp-content%2Fuploads%2Fap_avatars%2Fe1021d43911ca2c1845910d84f40aeae.jpg&r=g)
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.
![](https://lh4.googleusercontent.com/--qTjasy2p_0/AAAAAAAAAAI/AAAAAAAAADI/UtX6HVCPbAY/photo.jpg?sz=200)
hi Charles, after reinstalling from wp.org, the issue’s gone.
![](https://secure.gravatar.com/avatar/e4c45bf2932c362ef228c313314893f7?s=30&d=https%3A%2F%2Fanspress.net%2Fwp-content%2Fuploads%2Fap_avatars%2Fe1021d43911ca2c1845910d84f40aeae.jpg&r=g)
Hi Zikri, are you using the shortcode? Im still having the issue
![](https://lh4.googleusercontent.com/--qTjasy2p_0/AAAAAAAAAAI/AAAAAAAAADI/UtX6HVCPbAY/photo.jpg?sz=200)
yes, I am using shortcode
Hi Rahul,
I updated it worked after your reply, I updated it again and the problem is back.
Hello Charles,
You updated from master branch, right?
Hello,
This issue was fixed a day ago. Please update AnsPress and try.
Cheers.
![](https://secure.gravatar.com/avatar/e4c45bf2932c362ef228c313314893f7?s=30&d=https%3A%2F%2Fanspress.net%2Fwp-content%2Fuploads%2Fap_avatars%2Fe1021d43911ca2c1845910d84f40aeae.jpg&r=g)
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.
The last commit fixed it, however it’s still broken on profile pages, under Q&A