Hey Chris,

This is a real small issue. The example for hook_luceneapi_sort_arguments_alter() in luceneapi.api.php reads:

$sort = array('created', SORT_NUMERIC, SORT_DESC, 'title', SORT_STRING, SORT_ASC);

But I think it's supposed to be "title_sort" instead:

$sort = array('created', SORT_NUMERIC, SORT_DESC, 'title_sort', SORT_STRING, SORT_ASC);

Took me a few minutes to realize why my override wasn't working. Does it even make sense to add patches for this kind of thing, or is it easier for you like this?

Comments

cpliakas’s picture

Issue tags: +6.x-2.3

Great catch! No patch is needed since it is such a small change, so I will take care of it and will credit you with the fix. Marking for the 6.x-2.3 release.

Thanks,
Chris

cpliakas’s picture

Status: Active » Fixed

Fixed in commit #391750.

Status: Fixed » Closed (fixed)
Issue tags: -6.x-2.3

Automatically closed -- issue fixed for 2 weeks with no activity.