Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

How to limit total show in Validate?

Quote Reply
How to limit total show in Validate?
Hi everyone,

How can I limit the total show of waiting for validation list. Currently it show 10 (more that 10 is waiting) when I click on Validate. How can I make 5 or 3? Help appreciate.


Leslie
Quote Reply
Re: How to limit total show in Validate? In reply to
Look at:

Code:
$to_validate = $val->query ( { mh => 10, Mode => 'Validate' } );
$numhits = $val->hits;
$to_modify = $val->query ( { mh => 10 - $numhits, Mode => 'Modify' } );

in Admin_HTML.pm (around line 1100). Just change the 10 to whatever you want (5 or 3).

Cheers,

Alex