• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sort problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sort problem


  • Subject: Sort problem
  • From: David Holt <email@hidden>
  • Date: Thu, 10 Mar 2005 09:23:33 -0800

Hello everyone,

I have a very simple forum with forum>topics>posts. In my Topic EO I have a method to find the lastPost by sorting the posts in ascending order and then returning the last object in the array.

In my Forum EO I have a method to sort topics descending on the lastPost. This works fine except in the case that there is an attachment to the last post. If there is an attachment (MediumBlob in mysql) the last post shows up fine in the display on the forum page, but the topic sort does not seem to take it into consideration (the topic that includes the attachment doesn't display at the top). Does anyone have any idea why this might be happening?

David

--
When you sit with a nice girl for two hours you think that it is only a minute. But when you sit on a hot stove for a minute you think it's two hours. That's relativity.
<x-tad-smaller>
Albert Einstein

from Sunbeams: http://www.thesunmagazine.org</x-tad-smaller>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sort problem
      • From: David Holt <email@hidden>
  • Prev by Date: RE: WO JavaClient apps security
  • Next by Date: Re: How do I get rid of this?
  • Previous by thread: Solveed: FOP with WO error
  • Next by thread: Re: Sort problem
  • Index(es):
    • Date
    • Thread