OSQA sets the default question pagination to 30. I would like to set this to 15. I've looked around and I can't find a setting or line of code that looks like the suspect - please help!

asked 26 Mar '11, 20:22

MarkSwanb's gravatar image

MarkSwanb
20149
accept rate: 11%

You could also propose a feature request to make this configurable on Jira.

(28 Mar '11, 06:37) ripper234 ♦

If you would like to change the default pagination size you'll have to edit QuestionListPaginatorContext.__init__ method of the readers view. There is an argument passed there called default_pagesize=30.

  1. Open forum/views/readers.py
  2. Find QuestionListPaginatorContext and the __init__ method
  3. Edit the default_pagesize argument.
link

answered 28 Mar '11, 04:50

Jordan's gravatar image

Jordan ♦♦
3.1k618
accept rate: 38%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×30
×7

Asked: 26 Mar '11, 20:22

Seen: 471 times

Last updated: 28 Mar '11, 06:37

powered by OSQA