Closed ghost closed 5 years ago
Hey. If no-one else is looking at this it seems a nice easy one for me to get the hang of contributing to this library :)
Hey @dmazurenko - I can't reproduce this with a test :( Can you take a look at my PR and let me know what I've missed?
Thanks.
Hey @dmazurenko - I was being dense, I've worked out what I missed, and I think my PR fixes it now :) Can you confirm please?
Thanks.
Pull Request merged. Thank you @deanWombourne.
Awesome, thanks!
This method modifies initial
ascending
parameter for all other elements in the array. You can easily reproduce this by specifyingkey:NO,anotherKey
and passingYES
to ascending parameter inMR_requestAllSortedBy
. The result sort descriptor will containascending:NO
foranotherKey
.To fix this you need to declare a local variable for custom
ascending
parameter and use it instead