Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-6797 now.

Topics list splitted in case "announce" topic moved (fix completed in vcs)

If you move a topic promoted to an "Announce", the list of topics in the forum whose moved topic is originated is split in 2 parts just after the row the topic should have been if not put in announce.

In the attached screen shot, the "test 8" topic has been moved to another forum, and promoted to "announce".

(maybe this can be solved when going through the shadow topics, if a topic (the original one) is found "Announce", to add it to the announcement_list and remove it from the normal opic_list)

=>in viewforum.php,
AFTER
$rowset[$orig_topic_id] = $row;
ADD
// if target topic is announce, add it to announcement_list and not to rowset
if (($row['topic_type'] == POST_GLOBAL) || ($row['topic_type'] == POST_ANNOUNCE))
{
unset($topic_list[array_search($orig_topic_id, $topic_list)]);
$announcement_list[] = $orig_topic_id;
}
Split-topics.jpg (201.77 KB)

Comments / History

Edited ticket

Action performed by Mickey14 on Jan 5th 2008, 00:56

Edited ticket

Action performed by Mickey14 on Jan 5th 2008, 00:58

Edited ticket

Action performed by Mickey14 on Jan 5th 2008, 01:02

Edited ticket

Action performed by Mickey14 on Jan 5th 2008, 01:24

Assigned ticket to user "Acyd Burn"

Action performed by Acyd Burn (Server Manager) on Jan 6th 2008, 14:22

Changed ticket status from "New" to "Fix in progress"

Action performed by Acyd Burn (Server Manager) on Jan 6th 2008, 14:22

Changed ticket status from "Fix in progress" to "Fix completed in CVS"

Action performed by Acyd Burn (Server Manager) on Jan 6th 2008, 17:01

Ticket details