Saturday 28 June 2008 9:51:48 am
Hi. I'm working with search module. Looking at the code (kernel/content/search.php) i can see
function pageLimit( $searchPageLimit )
{
switch ( $searchPageLimit )
{
case 1:
return 5;
case 2:
default:
return 10;
case 3:
return 20;
case 4:
return 30;
case 5:
return 50;
}
}
So, it seems it's only possible to show search results with page_limit 5, 10, 20, 30 or 50...
but, what about if i need something like 15 or maybe 25? Do i need to hack the core to get this option? Will there be any problems (obviously there we be one if need to upgrade ez core) if i do this little hack? thank you.
|