Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5.6
-
Fix Version/s: 4.6
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
Description
The file located here:
templates/CRM/Report/Form/Criteria.tpl
allows the user to create an arbitrary number of criteria for the Order by Columns. However, if more than 4 criteria are created, javascript errors are thrown on report load. I tracked the problem down to the smarty template loop not creating the proper number rows.
Below, you may see the diff of what I changed in the Criteria.tpl file.
templates/CRM/Report/Form/Criteria.tpl templates/CRM/Report/Form/Criteria.tpl.old
105c105
<
—
>