Created
December 28, 2018 05:47
-
-
Save esimonetti/9a11534319059bb1fa80420f7235517f to your computer and use it in GitHub Desktop.
Show last 10 commentlog entries on Cases, with the newest one at the top
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Enrico Simonetti | |
// enricosimonetti.com | |
// | |
// 2018-12-28 Sugar 8.3.0 | |
// Show last 10 commentlog entries on Cases, with the newest one at the top | |
// | |
// file: custom/Extension/modules/Cases/Ext/Vardefs/commentlog.php | |
// | |
$dictionary['Case']['fields']['commentlog']['displayParams']['max_num'] = 10; | |
$dictionary['Case']['fields']['commentlog']['order_by'] = 'date_entered:desc'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment