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

Refactor View Contribution, View Partiicpant and other component view forms to eliminate extraneous functions and allow direct access

    Details

      Description

      Currently the component view forms go through the corresponding Tab.php file which does some extraneous functions / queries.

      Example: /civicrm/contact/view/membership?reset=1&id=1&cid=42&action=view&context=search&selectedChild=member

      We should modify the view classes to allow direct access via URL's like this (action=view may be extraneous here ?):
      civicrm/membership/view?reset=1&id=31&action=view&context=search

      This has been implemented in 3.1 for Membership View (as part of http://issues.civicrm.org/jira/browse/CRM-3928). However, only some links have been converted. This implementation should be reviewed for completeness and then implemented for Contribution, Participant, Pledge, Activity, Grant views.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: