![]() |
2.5 Search problems When choosing from Sort by, the choosen value does not change when the page reloads - the function does not work, the url changes, but the resultset is the same. |
In showcat.php Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Thanks! Now it works :) |
New problem, choosing Last 7 days for instance, and then trying to sort, the resultset is the total ads, not only the last 7 days of ads. Maybe because limit=last7 is not part of the url after sorting? |
In cathead.tmpl add line in bold Code: Content visible to verified customers only. |
That solved that problem, but new one: The pageing links at the bottom doesn not include limit=last7, so when trying to see page 2 the resultset is again all the ads. |
Same problem with searching within timefram or distance - pageing doesn not keep the parameters. |
Need to modify pagesytem in pp-inc.php to allow limit to be passed Code: Content visible to verified customers only. |
Resulted in fatal error: Fatal error: Call to undefined function: construct_ppurl() in pp-inc.php on line 1218 |
Uploaded new file and problem was solved, but link looks like this: Side 1 · 2&limit=last7 · 3&limit=last7 · 4&limit=last7 · 5&limit=last7 · 6&limit=last7 · 7&limit=last7 · 8&limit=last7 |
Quote:
Specify a date range or Specify a price range Those parameters are not part of the pageing links at the bottom. |
Try adding the lines in bold to pp-inc.php to your construct_ppurl function Code: Content visible to verified customers only. |
Now it works :) |
Chuck, Thanks for the solution. Just implemented and it seems to have fixed my Last 7 days search problem. Just one issue left. Wondering how I can have the search results returned sorted by date. Is there a way this can be done? |
| All times are GMT -5. The time now is 12:54 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0