My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 17: A "next" button in the main page
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  wha...@gmail.com
Closed:  May 2010


 
Project Member Reported by not...@gmail.com, Apr 10, 2010
Need to implement a next button in the main page.
When the user press the "next" button the next 20 articles in the db are 
loaded to the main page.

Need to implement: The "next" button in the html, and a method which will 
give the next 20 articles form the db.

Due: 2nd milestone
Estimated time: 4 hours


Apr 10, 2010
Project Member #1 not...@gmail.com
Note: The "next" operation should be limited to no more then 50 times (!!!) since the 
offset given to a query is limited to 1000!

Apr 11, 2010
Project Member #3 not...@gmail.com
A mechanism to fetch articles with an offset is already implemented in the code, in the 
function get_query_of_articles(next_count). The next count parameter would indicate the 
number of "next" pressed, and the function would return the next query of articles 
based on the given offset.

Need to implement the next button in the main page, the counter for the number of 
"next" pressed, and to call the method accordingly.
May 1, 2010
Project Member #4 wha...@gmail.com
I will render the buttons according to ?page=x querystring
Status: Started
May 18, 2010
Project Member #5 wha...@gmail.com
(No comment was entered for this change.)
Status: Done
Owner: whadar

Powered by Google Project Hosting