The problem is then you enable processor to modify results display value and sort them by display value.

The facet's then is sorted by old display value and later display value is modified.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Evaldas Užkuras created an issue. See original summary.

Evaldas Užkuras’s picture

Status: Active » Needs review
FileSize
3.69 KB

The solution for this issues is use getProcessorsByStage function instead of getProcessors.
getProcessorsByStage return ordered list of processors.

And using getProcessorsByStage function we no longer need to check if processor belong to needed stage.

Patch attached

borisson_’s picture

Status: Needs review » Fixed

Thanks for the issue and the patch, committed.

Status: Fixed » Closed (fixed)

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