Skip to content

Commit 11bddb3

Browse files
committed
no more ass :*(
1 parent c60e79e commit 11bddb3

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/searchlogic/search/ordering.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def ordering_by
77
end
88

99
def ordering_direction
10-
@ordering_direction ||= order && order.to_s.match(/^(ascend|descend)_by_ass/).try(:[], 1)
10+
@ordering_direction ||= order && order.to_s.match(/^(ascend|descend)_by_/).try(:[], 1)
1111
end
1212
end
1313
end

searchlogic-2.5.10.gem

34 KB
Binary file not shown.

0 commit comments

Comments
 (0)