Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17838

Add settings to configure recently viewed items stack (Recent.php)

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.5
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code

      Description

      It would be great to have the possibility to adjust the behavior of civi's recently viewed items stack to make the output more useful:

      • Size of "Recent Items" stack:
        The maximum size of the stack may be configured here. It accepts integers between 1 and 100 and defaults to 20. The formerly used constant in CRM/Utils/Recent.php has been removed.
      • Recent Items Providers:
        More or less all of Civi's components write to the stack. This may lead to useless views when displaying the list contents. For instance, generating pdf letters for multiple contacts may flood the list with entries which are hard to differentiate.
        This setting accepts strings representing the components and which are allowed to write to the stack, for example 'Contacts', 'Activities' or 'Grants'. If the setting is empty or unset, all components are permitted.

      Both settings should be located in page Administer -> System Settings -> Miscellanous

      Code is available in https://github.com/civicrm/civicrm-core/pull/7586

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              nielo Niels Heinemann
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: