 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
February 14th, 2006, 07:52 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
| 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.
|
| |
February 14th, 2006, 09:10 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
In showcat.php Code: Content visible to verified customers only.
change to this Code: Content visible to verified customers only.
|
| |
February 14th, 2006, 09:51 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
Thanks!
Now it works |
| |
February 14th, 2006, 11:04 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
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?
|
| |
February 15th, 2006, 08:14 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
In cathead.tmpl add line in bold Code: Content visible to verified customers only.
|
| |
February 16th, 2006, 12:02 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
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.
|
| |
February 16th, 2006, 12:09 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
Same problem with searching within timefram or distance - pageing doesn not keep the parameters.
|
| |
February 16th, 2006, 12:54 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Need to modify pagesytem in pp-inc.php to allow limit to be passed Code: Content visible to verified customers only.
Last edited by Chuck S; February 16th, 2006 at 04:41 PM.
|
| |
February 16th, 2006, 02:04 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
Resulted in fatal error:
Fatal error: Call to undefined function: construct_ppurl() in pp-inc.php on line 1218
|
| |
February 16th, 2006, 02:20 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
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
|
| |
February 17th, 2006, 02:17 AM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
| Quote: |
Originally Posted by zews Same problem with searching within timefram or distance - pageing doesn not keep the parameters. | This is still not working if you perform a search with
Specify a date range
or
Specify a price range
Those parameters are not part of the pageing links at the bottom.
|
| |
February 17th, 2006, 02:30 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Try adding the lines in bold to pp-inc.php to your construct_ppurl function Code: Content visible to verified customers only.
Last edited by Chuck S; February 17th, 2006 at 02:37 AM.
|
| |
February 17th, 2006, 02:57 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Sep 2005
Posts: 141
|
Now it works |
| |
June 16th, 2006, 09:55 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Sep 2002 Location: Long Beach, CA
Posts: 156
|
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?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:51 PM. | |