fetch request with compound predicate doesn't sort properly
fetch request with compound predicate doesn't sort properly
- Subject: fetch request with compound predicate doesn't sort properly
- From: Ken Victor <email@hidden>
- Date: Sun, 12 Mar 2006 17:34:59 -0800
if i use the following fetch request, i get back what i consider to
be a properly sorted array:
(entity: TaxCategory; predicate: (wasDeleted == 0); sortDescriptors:
((accountsId, ascending, compare:)); limit: 0)
however, the following fetch request, with a compound predicate,
doesn't sort the resulting array:
(entity: TaxCategory; predicate: (name != 0 AND name MATCHES "^\\S.*"
AND name MATCHES ".*\\S$" AND wasDeleted == 0); sortDescriptors:
((accountsId, ascending, compare:)); limit: 0)
note that both requests DO return the proper set, its just that the
result of the request with a compound predicate isn't sorted. i can't
swear to this, but i believe this used to work prior to uprading to
10.4.5.
can anyone shed some light on this for me?
thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden