summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorRavi Gohil <rgo@openerp.com>2014-10-03 19:13:46 +0530
committerMartin Trigaux <mat@odoo.com>2015-01-30 17:05:22 +0100
commit6451a553c0108cccc2d5cef3c54108d358473444 (patch)
tree4857c88e9ea1b75eec25757c2d318a0a102a2986 /addons/analytic_user_function/analytic_user_function.py
parent2883e3f67d92b3ededceace7a7922161c0efd910 (diff)
[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
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions