Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added restoration of sort descriptors to controlled controllers

  • Loading branch information...
commit eb2946b5f659f6c4030cc161ee267504e20e6e99 1 parent bf6a62e
@graphiclife graphiclife authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 HKDataStore.j
View
8 HKDataStore.j
@@ -506,11 +506,19 @@ var gHKDataStore = nil;
CPLog.debug("HKDataStore-> changing content to: " + controller );
var predicate = [controller filterPredicate];
+ var sortDescriptors = [controller sortDescriptors];
+
[controller setContent:[objs allObjects]];
+
if ( predicate )
{
[controller setFilterPredicate:predicate];
}
+
+ if ( sortDescriptors )
+ {
+ [controller setSortDescriptors:sortDescriptors];
+ }
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.