MyBB Community Forums

Full Version: Sort threads by prefix bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay so I'm not entirely sure if this is intended or if it these are bugs.

In the plug-ins section, when I sort the threads by the 1.8 prefix it displays all threads with the 1.8 prefix. There are two issues that I noticed. There are only 6 pages of 1.8 plug-ins,  yet on the pagination it shows 42 pages. 

Second issue is that on the 7th page it displays one thread. The thread is "Becoming an Approved Developer and Modifications Website Guide." It displays only this thread for every page after page 6. 

Page 7: http://community.mybb.com/forum-102-page...?prefix=28

To see what I'm talking about just look at random pages after page 6.
Seems like the pagination missed the prefix. The stickie is always shown as the search doesn't work for them.

As a side note: team members need to look at page 8+
(2015-02-25, 07:34 PM)Jones H Wrote: [ -> ]Seems like the pagination missed the prefix. The stickie is always shown as the search doesn't work for them.

As a side note: team members need to look at page 8+
Just curious,  what's wrong with page 8+? Doesn't seem any different from page 7.
There're a lot of unapproved threads which are shown for us Wink
(2015-02-26, 09:39 AM)Jones H Wrote: [ -> ]There're a lot of unapproved threads which are shown for us Wink
But for an user without the permission to see unapproved threads the pagination should be correct --> Bug Smile
This code looks wrong: https://github.com/mybb/mybb/blob/featur...p#L613-626 The first query doesn't consider any parameters at all (why?) and the 2nd query misses prefix.

Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/1890

Thanks for contributing to MyBB!

Regards,
The MyBB Group