odoo/addons/website_blog/controllers
Ravi Gohil 6451a553c0 [FIX] website_blog: next post looping when last post
The next post button at the bottom of an article was stuck when getting to
the last page. A cookie storing the *all* the visited posts was used
to determine the next one according to a non-stored (so not working) and
unexpected criteria 'ranking'. Also could get articles from other blog.

Instead of this whole broken logic, simple loop through articles by classic
order and go back to first one when at the end.
Better looping algorithm can be used in master where ranking is stored.
Fixes #3097, opw 614559
2015-01-30 17:05:22 +01:00
..
__init__.py [REF] website_mail refactoring 2013-09-20 15:56:43 +02:00
main.py [FIX] website_blog: next post looping when last post 2015-01-30 17:05:22 +01:00