rubikvn / RubikVNdotOrg

Source code for https://www.rubikvietnam.org
2 stars 0 forks source link

Pagination for ranking page #24

Open trungams opened 5 years ago

trungams commented 5 years ago

Feature/Enhancement Description

There was pagination when we were rendering all results into a template. The json endpoint currently doesn't support that.

Tasklists Suggestion

[edit] I just thought about it and we only need to handle on front-end [edit2] I'm dumb. This needs back-end also

Additional Comments

trungams commented 5 years ago

ranking page load for the first time -> ajax call to get default ranking (3x3, limit 50, single, etc) -> every time the user use filter form to get different ranking, update url for ajax call -> user selects another page -> append, or update page parameter to url and perform an ajax call