No matter what you specify for weights in the GROUP BY TYPE SETTINGS in search, no sorting is actually done. The resulting groups come out in whatever order the original results were in. I looked into the code and made a fix for this. A patch is enclosed.

At least two other people have noticed this problem as shown in the group here:

https://groups.drupal.org/node/311323

Thanks!

CommentFileSizeAuthor
ds_search_group_sort.patch715 bytesmikemoretti
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

Status: Active » Needs review
klevyke’s picture

Status: Needs review » Patch (to be ported)

The patch is ok.

aspilicious’s picture

Status: Patch (to be ported) » Needs review
crutch’s picture

Thank you, finally got to trying this, it fixes the issues and no errors.

PhilY’s picture

Status: Needs review » Patch (to be ported)

Amazingly, this patch is still needed in 7.x-2.14 release of Display Suite ;-)
And it works!