Commit 960d4f4
authored
The test was asserting buggy behavior. With `sort(title: :asc_nils_first)`
and `include_nil?: true`, the `first` aggregate should return `nil` when the
first sorted record has a nil value, not skip to the next non-nil value.
1 parent ebde288 commit 960d4f4
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
878 | 880 | | |
879 | 881 | | |
880 | 882 | | |
| |||
0 commit comments