Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.5
-
Component/s: None
-
Labels:None
Description
Another small bug related to premium. On the premium search result page, if you click on sort by preimum, the system would crash with an error message.
The problem is that the sort name for preimum is 'name'. It should be 'product_name' instead.
To fix, modify the file:
CRM/Contribute/Selector/Search.php
Inside the function "getColumnHeaders", go inside the $_columnHeaders array definition, find the definition for premium and change the 'sort' value to 'product_name' instead of 'name'.