The search isn't working properly at the moment.
Restricting the time range doesn't have any effect on the search results.
It seems, that the variables $when and $whenterm need to be added to the typecast call in search.php and showgallery.php
I think the same applies to categories. Although this can be an array when someone chooses multiple categories on the search page.
The paging links to browse the search results aren't containing all needed variables also.
For some reason, it's working here.
But not on my installation and not at
http://www.viperalley.com/gallery/search.php
Maybe that's because of the vbulletin integration used here?