Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: None
-
Fix Version/s: 1.0
-
Component/s: None
-
Labels:None
Description
We want to show the 'top 3' rows for Relationships, Groups and Notes on the Contact Summary page (contact/view). Changes needed are:
1. Need to load $groupIn array (same as in contact/view/group - but only load top 3 sorted by group title asc). Contact.tpl is set to display once this is loaded.
2. For Relationships, Groups, Notes
- $<class>Count vars should be renamed <class>TotalCount (e.g. noteTotalCount instead of notesCount). The current data in these vars are correct.
- $<class> array should be loaded w/ top 3 rows only - this is working as
desired for $note array only. Need to implement the array for $groupIn and change $relationship array to only have top 3 rows
EX: So, if there are 25 relationships for this contact, $relationship in contact/view would only include top 3, sorted by relationship type name asc