Skip to:
Content

Opened 4 years ago

Last modified 4 years ago

#2763 new defect

Stickies get doubled

Reported by: mechter Owned by:
Milestone: 2.7 Priority: normal
Severity: minor Version: 2.5.4
Component: Component - Topics Keywords:
Cc:

Description

Stickies are being shown at the top of the forum and once more in the normal chronological order.

This may be a regression (see #50). On second thought, however, I'm not sure because #50 is not specific about pagination (did that exist in v0.1?). Stickying a post from the first page correctly removes it from the list of posts, but stickying a post from the second page will display it at the top of the first page and once more in the list of posts on page 2 where I would not expect to see it. Marking as defect rather than regression for now.

Change History (1)

#1 @johnjamesjacoby
4 years ago

  • Component changed from General to Component - Topics
  • Milestone changed from Awaiting Review to 2.7

Much of the sticky code relies on WordPress's approach to querying for stickies, and previous limitations in WP_Query that are now resolved with additional query arguments like post__not_in and post_parent__not_in for which bbPress previously had custom implementations.

Moving to 2.7 to see about improving this with some kind of not_in query arg to exclude sticky ID's.

Note: See TracTickets for help on using tickets.