Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Errors when selecting sort order
Avatar
Gord Tulloch
Member
sp_UserOfflineSmall Offline
Feb 27, 2020 - 10:02 am

Hi there:

When I go into a topic and select Open the Forum Toolset then Reverse Sort this forum it doesn't seem to respond. In Chrome if I open the console window I see:

jquery.js?ver=1.12.4-wp:4 GET https://<my site>/wp-admin/admin-ajax.php?action=spForumTools&targetaction=sort-forum&forumid=7&_wpnonce=c8ed83ad03 500

I seem to have gotten it to work since one of my forums is now sorting backwards but it's the wrong one and I can't change it back 🙁

Any idea?

Avatar
Gord Tulloch
Member
sp_UserOfflineSmall Offline
Feb 27, 2020 - 10:06 am
Simple:Press   Version: 6.3.0
Build: 15865
Release: Release
WordPress   Version: 5.3.2
Language: en-US
Character Set: UTF-8
Theme: X
PHP   Version: 7.3.15
Memory: 768M
Max Upload: 128M
Timeout: 300
Avatar
Gord Tulloch
Member
sp_UserOfflineSmall Offline
Feb 27, 2020 - 10:09 am

I disabled all plugins and same result. I click on the option and nothing appears to happen, whereas I'd expect the tools to disappear and the screen to refresh to show the new sorting. 

Avatar
Simple Press
Admin
sp_UserOfflineSmall Offline
Feb 27, 2020 - 11:53 am

Hi:

We've verified that this is an issue in 6.4.0 and have pushed a fix to github.  The fix will be in the next release (6.5) but I don't have a release date yet.

If you're comfortable editing code files, you can find the changes here: https://github.com/Simple-Pres.....6da2c42494.

I'm not quite sure how you got anything to reverse sort - that's a bit concerning because it could mean that the sort flag is no longer in the format we expect.  Hopefully though, applying the changes should resolve the issue for you assuming the existing sort flag isn't corrupted somehow.  They're pretty simple - just three lines to be added to two functions.

Thanks.

Avatar
Gord Tulloch
Member
sp_UserOfflineSmall Offline
Mar 6, 2020 - 1:25 pm

That worked thanks! 

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17356
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10122
Posts: 79610