Skip to content

collection->sort('created') seems broken #597

mgcrea opened this Issue Jul 26, 2012 · 2 comments

3 participants

Union of RAD member
mgcrea commented Jul 26, 2012

Currently on master, it used to work

/libraries/lithium/data/collection/DocumentSet.php line 109 : [500:ErrorException] - : Undefined index: 
#0 /libraries/lithium/data/collection/DocumentSet.php(109): {closure}(8, 'Undefined index...', '/home/www/beeli...', 109, Array)
#1 /libraries/lithium/data/Collection.php(288): lithium\data\collection\DocumentSet->offsetGet(NULL)
#2 /beelink/controllers/DevicesController.php(61): lithium\data\Collection->sort('created')

Has anyone else experienced this?

Union of RAD member
jails commented Jul 27, 2012

Is this is also an issue in the data branch ?

Union of RAD member

As far as I can remember, the sort() method was only ever implemented on the data branch, and has not yet been merged to master. Please leave a comment and/or reopen this issue if you can find a commit hash on master containing this.

@nateabele nateabele closed this Jul 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.