admin dashboard log entries

durchsetzung

Joined: 2009-08-01
Posts: 7
Posted: Wed, 2009-09-02 16:39

hello,

where and how can i change the numbers of entries in the log entries block?

best m.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-09-02 18:14

grep -nri "log entries" ./ :)

Looks like you'd edit gallery3/modules/gallery/helpers/gallery_block.php

Search for case "log_entries" and edit:
->orderby(array("timestamp" => "DESC", "id" => "DESC"))->find_all(5);

Should be on or around line 53 if you're using current code:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here