Ticket #16 (accepted enhancement)

Opened 17 years ago

Last modified 17 years ago

Next Story/Previous story buttons should loop

Reported by: khaled Owned by: khaled
Priority: major Milestone: NewsHealthGuru Beta Release
Component: News.HealthGuru Version:
Severity: migrated_ready_to_test Keywords:
Cc:

Description

On the story page, when the most recent article is reached, next button should show the oldest article, when the oldest article is reached, the previous button should show the newest published article.

Change History

Changed 17 years ago by khaled

  • status changed from new to accepted
  • type changed from defect to enhancement
  • severity changed from awaiting_action to fixed_ready_to_test

Story (and contributor) next/previous button both loop.

Story previous button loops to most recent article, story next button loops to the article 10 places back.

Changes made to articlesTable.php model file, fetchPreviousStoryId() and fetchNextStoryId() methods.

Changed 17 years ago by khaled

  • severity changed from fixed_ready_to_test to migrated_ready_to_test
Note: See TracTickets for help on using tickets.