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

Case activity view and edit links concatonated no way to use use hook_civicrm_links to edit them

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.7.14
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Minor (add functionality in backwards-compatible manner)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When viewing a list of cases there is a little triangle on the left that when clicked displays the case activities below the case those Activities under the cases do not use the hook civicrm links they are put together like [this](https://github.com/civicrm/civicrm-core/blob/e3756c3626922067716748d971e3e33558d6edf3/CRM/Case/BAO/Case.php#L1310) this is a bug in core which makes it so we can not easily remove or edit the "view" and "edit" links using the hook [hook_civicrm_links](https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_links) for the case activities. ideally the links would be put together using [form link](https://github.com/civicrm/civicrm-core/blob/d40b6649e8af7fa55a5a71beee3483cdf6c68bf3/CRM/Core/Action.php#L203) kind of like [this](https://github.com/civicrm/civicrm-core/blob/master/CRM/Activity/Selector/Activity.php#L468).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alifrumin Alice Frumin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: