Citations often have multiple values per field. In order to sort on one of these fields, the first value in the array can be used. This code adds the fields to the index by detecting fields with multiple values and adding the first one to an extra sorting field in the index.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | sorts-625156-1.patch | 2.58 KB | David Lesieur |
| sorts.patch | 4.45 KB | robertdouglass |
Comments
Comment #1
David Lesieur commentedRe-rolled patch to remove changes to CVS headers. Not reviewed yet.
Comment #2
robertdouglass commentedI think I prefer something more along the lines of this:
Comment #3
robertdouglass commentedRefactoring is for loosers ;-)