Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
Sort Stopped Working

 

 


raptorbytes
Novice

Nov 4, 2008, 1:55 PM

Post #1 of 5 (2112 views)
Shortcut
Sort Stopped Working Can't Post

Have a site for a client that lists lost and found animals at homesforanimals.com
Has been working and stable for several years
Animals are listed by date listing was last modified using the "Timestamp (<script type="text/javascript"> document.write(document.lastModified); </script>)" set as field 16
Sort code on pages, e.g. http://homes4animals.com/listman/dogs_lost.htm is
<!--#include file="exec/search.cgi?search=1&template=basic_all.html&lfield1_match=Dog&lfield2_keyword=Lost&perpage=100&sort_order=16,123,reverse" -->
For past month or so it looks like sorts are random rather than by modified date
Client swears she has not changed any code on these pages, and I aven't been on site for a year
Note: I read support forums and also tried changing sort_order=-11,16,123,reverse with no success
Your assistance is appreciated
Thanks
Mike


Donna
Staff / Moderator


Nov 6, 2008, 3:44 PM

Post #2 of 5 (2026 views)
Shortcut
Re: [raptorbytes] Sort Stopped Working [In reply to] Can't Post

Hi Mike,

When you modify a listing, is the date changing as expected? The sort order is set correctly, so that should be fine. In which case, I'd want to make sure that the date is actually updating as expected.

Doublecheck that and let me know if it's changing.

Donna

--
support@interactivetools.com


raptorbytes
Novice

Nov 7, 2008, 4:24 PM

Post #3 of 5 (2014 views)
Shortcut
Re: [Donna] Sort Stopped Working [In reply to] Can't Post

Donna
Timestamp on file is changing but just noticed that modified date on server is 7 hours ahead of my local time. That means server is set to GMT. This shouldn't make a difference to sort by timestamp since the sort is a relative function. I have gotten a test page to sort by creation date using the "-11" but still prefer to sort by modified date. Since I didn't change anything before the problem started , is it possible the server is affecting the sorts? I'm stumped at this point.
Thanks
Mike


Donna
Staff / Moderator


Nov 10, 2008, 3:04 PM

Post #4 of 5 (1818 views)
Shortcut
Re: [raptorbytes] Sort Stopped Working [In reply to] Can't Post

Hi Mike,

The server shouldn't be affecting it, unless it changed how the timestamp is being displayed. Can you give me an example of the output of listing field 16?

Donna

--
support@interactivetools.com


raptorbytes
Novice

Nov 10, 2008, 4:04 PM

Post #5 of 5 (1817 views)
Shortcut
Re: [Donna] Sort Stopped Working [In reply to] Can't Post

Donna
Client just notified me that things are back in proper order - no idea what has changed since I did not fix anything.
To see what lfield16 looks like go to http://homes4animals.com/listman/dogs_adopt.htm
At bottom of each listing is timestamp output
Thanks for all your help
Mike