lib/picky/search.rb in picky-2.0.0 vs lib/picky/search.rb in picky-2.1.0
- old
+ new
@@ -144,10 +144,10 @@
allocations.calculate_score weights
# Sort the allocations.
# (allocations are sorted according to score, highest to lowest)
#
- allocations.sort
+ allocations.sort!
# Return the allocations.
#
allocations
end
\ No newline at end of file