From ca90f13218b86a8fd0be0e979e994063131c7713 Mon Sep 17 00:00:00 2001 From: Seamus Lee <seamuslee001@gmail.com> Date: Thu, 22 Jun 2017 07:55:29 +1000 Subject: [PATCH] CRM-20720 CRM-20757 Fix issue where Price Options were not being sorted by weight --- CRM/Price/Page/Option.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Price/Page/Option.php b/CRM/Price/Page/Option.php index 4de80abcfd..4c502ec55f 100644 --- a/CRM/Price/Page/Option.php +++ b/CRM/Price/Page/Option.php @@ -128,6 +128,7 @@ class CRM_Price_Page_Option extends CRM_Core_Page { 'check_permissions' => FALSE, 'options' => array( 'limit' => 0, + 'sort' => array('weight', 'label'), ), )); $customOption = $priceOptions['values']; -- 2.25.1