Skip to content

Board ordering issue (should fix #2710) - #2713

Closed
live627 wants to merge 1 commit into
SimpleMachines:release-2.1from
live627:release-2.1s
Closed

live627 wants to merge 1 commit into
SimpleMachines:release-2.1from
live627:release-2.1s

Conversation

@live627

@live627 live627 commented Feb 4, 2015

Copy link
Copy Markdown
Contributor

@margarett

Copy link
Copy Markdown
Contributor

I don't think it fixes #2712 as there is an own query in function MaintainTopics()
I was pretty much asleep when I tested this yesterday but I think that board #1 is lost directly in the first while loop after the query so it didn't even reach Subs-Boards. Although I'm not totally sure anymore 👅

@margarett

Copy link
Copy Markdown
Contributor

Actually, live, did you test this?
The thing is... #2710 happens in when in a board with child boards. At that time, $boardIndexOptions['include_categories'] is false, which means that smf_categories isn't joined and, as such, your fix causes a "Unknown column 'c.cat_order' in 'order clause'"
So you should drop the c.cat_order from the ORDER BY line 😉

@Emperornero

Copy link
Copy Markdown

I was going to post this earlier, I cannot confirm that this fixes either problem that are referenced in #2712 or #2710.

@live627

live627 commented Feb 6, 2015

Copy link
Copy Markdown
Contributor Author

ok thanks for letting me know.

@live627 live627 closed this Feb 6, 2015
@live627
live627 deleted the release-2.1s branch February 6, 2015 13:00
@margarett margarett mentioned this pull request Feb 16, 2015
@live627 live627 mentioned this pull request Feb 16, 2015
@jdarwood007 jdarwood007 added this to the 2.1 Beta 2 milestone Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

board #1 missing?

4 participants