Page 1 of 1

Admin page - number of entries shown

Posted: Mon Nov 07, 2005 10:24 pm
by DortoH
Version 0.9

Is there anyway to change the default number of entries per page shown under Edit Entries on the admin side? The default is 12 but I regularily am working on 15-20 entries at a time, either ready to publish, or in progress.

Thanks!

Rod

Posted: Tue Nov 08, 2005 11:02 am
by winkiller
my s9y 0.9 has 10 as a default, but manually you can change it like this:

- open include/admin/comments.inc.php
in line 13, replace

Code: Select all

$commentsPerPage = (!empty($serendipity['GET']['filter']['perpage']) ? $serendipity['GET']['filter']['perpage'] : 10);
with

Code: Select all

$commentsPerPage = (!empty($serendipity['GET']['filter']['perpage']) ? $serendipity['GET']['filter']['perpage'] : 20);
I'm thinking about making that a config option, but couldn't yet decide if it's necessary as I haven't heard about anyone who wouldn't just select "20" from the dropdown list and click on "go" besides you ;)

Posted: Tue Nov 08, 2005 11:56 am
by garvinhicking
Serendipity 0.9 also remembers the amount of entries you last chose via Cookies...

Regards,
Garvin