Gossamer Forum
Home : Products : DBMan : Customization :

Re: Filter search results

Quote Reply
Re: Filter search results In reply to
hi JPD

Opps.. Sorry. Wink I think I did something wrong. I should take away the &get_date and shouldn't set the current date as default. The reason why I set it up since I wanna let users to have a better idea of what the date format is. Sorry to make you feel confused. Frown

In Reply To:
To sort search results by any field, you just have to set the "so" field. You can either set it in a form or in a
link. Rather than give both of them to you right now, can you tell me which one you want?
"so" field??? Tongue *sigh* I couldn't get what you are saying... sorry. Anyway, I'd rather set it in a form.

In Reply To:

Delete the code in red that's below:

if ($in{$column} !~ /^\s*$/) { ($db_sort{$column} eq 'date') and (&date_to_unix($in{$column}) or return "Invalid date format: '$in{$column}'");
push(@search_fields, $i); $i++; next; }
But do I have to add/change anything else in order to make use of it?

Cool Thanks for your advice!! I'll try your codes at once.

Aladdin

Subject Author Views Date
Thread Filter search results faithlezz 3242 Jun 25, 2000, 7:41 AM
Thread Re: Filter search results
Stealth 3120 Jun 25, 2000, 10:57 AM
Thread Re: Filter search results
aladdin88 3103 Jun 26, 2000, 10:31 PM
Thread Re: Filter search results
Stealth 3109 Jun 26, 2000, 10:39 PM
Thread Re: Filter search results
aladdin88 3115 Jun 27, 2000, 12:24 AM
Thread Re: Filter search results
JPDeni 3113 Jun 27, 2000, 12:42 AM
Thread Re: Filter search results
aladdin88 3121 Jun 27, 2000, 10:22 PM
Thread Re: Filter search results
JPDeni 3072 Jun 28, 2000, 12:07 AM
Thread Re: Filter search results
aladdin88 3068 Jun 28, 2000, 8:33 PM
Thread Re: Filter search results
JPDeni 3071 Jun 28, 2000, 11:57 PM
Thread Re: Filter search results
aladdin88 3047 Jun 29, 2000, 8:40 PM
Post Re: Filter search results
JPDeni 3039 Jun 30, 2000, 1:38 AM