Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Sort Forum Search results by Date

Quote Reply
Sort Forum Search results by Date
Is this possible? I would like to sort the results by date
Quote Reply
Re: [jaltuve] Sort Forum Search results by Date In reply to
Never tried it by date, but I'm sure some here knows. You can do it for the last XXX, in hours, days, weeks, months, etc. like:

gforum.cgi?do=search_results&search_forum=all
&search_string=&search_type=AND&search_fields=sb&search_time=24h&search_user_username=&mh=25

(all on the same line)

This one is set for the last 24 hours. Substitute 1w for 1 week, etc.

Dave
Quote Reply
Re: [bretzke] Sort Forum Search results by Date In reply to
Yes, but it will not sort the results chornologicaly
Quote Reply
Re: [jaltuve] Sort Forum Search results by Date In reply to
Sorry! Missed that part Unsure ....haven't seen anything on that yet.
Quote Reply
Re: [jaltuve] Sort Forum Search results by Date In reply to
Searching by date isn't supported, because Gossamer Forum uses indexing (MySQL or internal) in order to index the page. This way when searching for a query, the results will be ordered by their relevance. This is much the same as searching the web - if you sorted the results for a search by the time they were last updated, the results would be almost completely useless. Thus, in order to be able to search for things that are known to have been posted within the last little while, you can enter a specific time-frame in which to search - but the results are always sorted by relevance instead of anything else.

If your results don't seem to be sorted by relevance, check to insure that you have enabled the table indexing.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com