| No Cats required for Prev/Next on Ads
The links for Prev/Next on the showproduct.php pages do not seem to require a cat variable in the URL. I tested this using two ads for the same category, both with Photos. The links to showproduct.php script from the "Recent Ads" display, only have the showproduct.php?product=xxx as the URL, no Cat mentioned. The Prev/Next links on these products also only have the product variable. The Recent Ads display uses the link showproduct.php?product=xxx and the first ad to show has a "Show Previous Ad" link with a similar URL. If you click on either of the links from the "Last 7 Days" query, the links are showproduct.php?product=xxx&cat=yyy (for the thumbnail), and showproduct.php?product=xxx&cat=All (for the text link). Following either link takes you to an AD (showproduct.php) page and the Prev/Next links only seem to use the product variable, and only show ads within that immediate category. If the cat variable is required for some reason for the AD links in the query results, they should be consistent, i.e. Cat="catid" or Cat="All", but not both, and if the cat variable isn't required to dispaly an AD ever, then the CAT variable should be removed from the showproduct.php URLs in the query results.
Thank you.
Last edited by GateKeeper; June 13th, 2006 at 10:56 AM.
|