 |

irishis
User
Mar 17, 2003, 8:43 AM
Post #1 of 4
(1492 views)
Shortcut
|
I'm testing the search feature within my listings, the search (Alpacas) is between Male, Female, and Gelding. I pick to search for only males. All the listings are coming up with just the males listed first, same thing will happen with other searches all the listings come up but the sort is different.
|
|
|  |
 |

Benjamin
Staff

Mar 17, 2003, 10:38 AM
Post #2 of 4
(1487 views)
Shortcut
|
Hi Erin! It sounds like the search form is specifying the gender to be the sort_order field, so that instead of returning ONLY males, it returns males FIRST. Try this: open up your search form, and look through the code for the part which it used to draw your gender dropdown. Take a look at the name attribute for the <select> tag, what does it say? It should say something like lfieldX_match (where X corresponds to the database listing field number for gender). Also, glance through the rest of the form and look for a sort_order field (it's probably hidden). What does that say? This is actually pretty tough to explain without seeing the code! Maybe just copy and paste the relevant section here and I could take a look :-) Ben interactivetools.com
|
|
|  |
 |

irishis
User
Mar 17, 2003, 1:02 PM
Post #3 of 4
(1481 views)
Shortcut
|
Actually that was an excellent explanation and I got it fixed right up. I think I'm still in panic mode, thanks for the help, I'll try and take my time and read what's on the templates.
|
|
|  |
 |

Benjamin
Staff

Mar 17, 2003, 1:03 PM
Post #4 of 4
(1480 views)
Shortcut
|
No worries :-) Glad it got sorted out! Ben interactivetools.com
|
|
|  |
|