Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1149)

Issue 4633059: Added option to set results count by logged in users

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by sinha
Modified:
12 years, 11 months ago
Visibility:
Public.

Patch Set 1 #

Total comments: 4

Patch Set 2 : count input form is moved under usersettings, and default count value added to wikiconfig file #

Total comments: 2

Patch Set 3 : user's default value (0) added for results_per_page attribute #

Patch Set 4 : change in action in case of user's default value for results_per_page, now on '0' NO PAGINATION. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -37 lines) Patch
M MoinMoin/apps/frontend/views.py View 1 2 3 7 chunks +27 lines, -21 lines 2 comments Download
M MoinMoin/config/default.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M MoinMoin/user.py View 1 2 3 2 chunks +0 lines, -16 lines 0 comments Download

Messages

Total messages: 5
Reimar Bauer
Issues: 1) when i try to add the form element in my history template using ...
12 years, 11 months ago (2011-06-21 22:17:24 UTC) #1
Reimar Bauer
i am in a talk about awesome web apps i look later again, looks so ...
12 years, 11 months ago (2011-06-22 09:23:59 UTC) #2
Reimar Bauer
just about the (50) which is now configurable http://codereview.appspot.com/4633059/diff/4001/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/4633059/diff/4001/MoinMoin/apps/frontend/views.py#newcode1259 MoinMoin/apps/frontend/views.py:1259: result_count ...
12 years, 11 months ago (2011-06-22 14:41:57 UTC) #3
Reimar Bauer
just about the (50) which is now configurable
12 years, 11 months ago (2011-06-22 14:42:00 UTC) #4
Reimar Bauer
12 years, 11 months ago (2011-06-26 08:02:43 UTC) #5
small fixes needed

http://codereview.appspot.com/4633059/diff/13002/MoinMoin/apps/frontend/views.py
File MoinMoin/apps/frontend/views.py (right):

http://codereview.appspot.com/4633059/diff/13002/MoinMoin/apps/frontend/views...
MoinMoin/apps/frontend/views.py:587: results_per_page =
flaskg.user.results_per_page # if its 0, means no paging
you mean it's for "it is"
its has a different meaning

http://codereview.appspot.com/4633059/diff/13002/MoinMoin/apps/frontend/views...
MoinMoin/apps/frontend/views.py:677: offset = 0
offset = max(int(offset), 0) ?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b