Feature #213

Breadcrumb pagination drop-down

Added by Ryan Gordon almost 3 years ago. Updated over 1 year ago.

Status:Closed Start date:03/23/2009
Priority:Normal Due date:07/23/2009
Assignee:Ryan Gordon % Done:

100%

Category:Other
Target version:1.6.0 Final

Description

Drop down on showthread.php on the forums in the breadcrumb to go to back to the page you were from. Act's like the multipage ( 1 2 ... 7 .. 40) except seperated in a drop down

Mockup: http://community.mybboard.net/thread-45558-post-317976.html#pid317976

Associated revisions

Revision 4401
Added by Ryan Gordon over 2 years ago

WIP Feature Breadcrumb pagination drop-down (wip:213)

Revision 4402
Added by Justin S over 2 years ago

WIP Feature Breadcrumb pagination drop-down (wip:213)

Revision 4404
Added by Ryan Gordon over 2 years ago

Feature Breadcrumb pagination drop-down (completed:213)

Revision 4405
Added by Justin S over 2 years ago

Improves Breadcrumb pagination drop-down (improves:213)

Revision 4599
Added by Ryan Gordon about 2 years ago

Fixes Breadcrumb pagination drop-down (fixes:213)

Revision 4725
Added by Tom Moore about 2 years ago

Fixes Breadcrumb pagination drop-down (fixes:213)

Revision 5031
Added by Ryan Gordon over 1 year ago

Fixes Breadcrumb pagination drop-down (fixes:213)

Revision 5118
Added by Ryan Gordon over 1 year ago

Fixes Breadcrumb pagination drop-down (fixes:213)

Revision 5124
Added by Ryan Gordon over 1 year ago

Fixes Breadcrumb pagination drop-down (fixes:213)

History

Updated by Ryan Gordon almost 3 years ago

  • Tracker changed from Bug to Feature

Updated by Ryan Gordon almost 3 years ago

  • Status changed from New to Assigned

Updated by Ryan Gordon over 2 years ago

  • Category set to Other
  • % Done changed from 0 to 50

Updated by Ryan Gordon over 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 50 to 100

Applied in changeset r4404.

Updated by Ryan Gordon over 2 years ago

  • Due date set to 07/23/2009

Updated by Nick Palmer over 2 years ago

  • Status changed from Resolved to Closed

Updated by Justin S about 2 years ago

  • Status changed from Closed to Feedback

It seems that this feature no longer works properly - threads on page 4 of a forum, for instance, are being indicated as being on page 1 of the forum, in both the forum link and the drop down page listing.

Updated by Ryan Gordon about 2 years ago

Sighhh.. Tom! lol

Updated by Tom Moore about 2 years ago

Eeeep... at least the pagination works "properly" now! =P

Updated by Ryan Gordon about 2 years ago

A regression caused by #141

Updated by Ryan Gordon about 2 years ago

  • Status changed from Feedback to Resolved

Applied in changeset r4599.

Updated by Stefan T. about 2 years ago

  • Status changed from Resolved to Closed

Updated by Tom Moore about 2 years ago

  • Status changed from Closed to Feedback

Ryan, the change made in r4599 leads to a pgSQL error when you visit a thread. "lastpost" needs to be in a GROUP BY clause.

Updated by Ryan Gordon about 2 years ago

Tom Moore wrote:

Ryan, the change made in r4599 leads to a pgSQL error when you visit a thread. "lastpost" needs to be in a GROUP BY clause.

As switch statement should have been used. If there isn't one used then how am I supposed to know there is required syntax individual to a specific sql engine?

Updated by Tom Moore about 2 years ago

Ryan Gordon wrote:

As switch statement should have been used. If there isn't one used then how am I supposed to know there is required syntax individual to a specific sql engine?

See #414 (in particular, r4464). I changed the query to include the GROUP BY clause to fix issue 414, which you closed off. Does this feature not work if GROUP BY is used?

Updated by Ryan Gordon about 2 years ago

I closed it because they have to be closed in RedMine (up until Chris updated a few days ago) to mark a version of MyBB a 'completed' in the roadmap so we don't mislead users.

In addition, we need to be as optimized as possible in SQL. There is no reason that is needed on MySQL, so let's not use it there. Places like NCAAbbs depend on us having very optimized queries

That being said, the proper solution is to add a switch statement. Does SQLite need the GROUP BY as well?

Updated by Tom Moore about 2 years ago

  • Status changed from Feedback to Resolved

Applied in changeset r4725.

Sorry for jumping in (again!)... SQLite should be OK without GROUP BY...

Updated by Stefan T. almost 2 years ago

  • Status changed from Resolved to Closed

Updated by Stefan T. over 1 year ago

  • Status changed from Closed to Feedback
  • Target version deleted (1.6.0 Beta)

Perhaps we should add $theme['imgdir'] to the image path?

Updated by Ryan Gordon over 1 year ago

  • Status changed from Feedback to Resolved

Applied in changeset r5031.

Updated by Stefan T. over 1 year ago

  • Status changed from Resolved to Closed

Updated by Ryan Gordon over 1 year ago

  • Target version set to 1.6.0 Final

Also available in: Atom PDF