CRM-2307 Manage Contribution Pages - Pager and Search

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.8
    • Fix Version/s: 2.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Rationale
      ========
      Some organizations may create a large number of Contribution Pages. The current interface puts all of them on a single page, and there is no mechanism to search for a Contribution Page, or filter the listings.

      Implementation
      =============
      You can use the Browse Mailings implementation as a model for this issue (CRM-2266)

      1. Add our standard AtoZ Pager to the Manage Contribution Pages selector. Behaviors are the same as for contact selector - using the Title as the handle for alpha filtering.

      • AtoZPager element is always included. Letters are linked to filter action when one or more title(s) start with that letter.
      • Go to page / next-previous .... element is included when number of returned rows is greater than "rows per page" value.

      2. Add a simple search form above the selector. Search is on Title and/or Contribution Type.

      Search fields (place side-by-side to minimize horizontal space)
      ------------------------------------------------------------------------------------
      Label = "Find", Type = Text
      Desc = Full or partial Group name.

      Label = "Type", Type = Checkbox
      Option values = select from civicrm_contribution_type

      NOTE: I think we should use LIKE '$titlestring%' in the search query

      3. Move "New Contribution Page" link above selector.

        Attachments

          Activity

          [CRM-2307] Manage Contribution Pages - Pager and Search
          Manish Zope added a comment -

          Verify for 2.0

          Rupam Jaiswal added a comment -

          No AtoZ Pager above Manage Contribution Pages selector.

          David Greenberg added a comment -

          AtoZ bar was being suppressed if resultset size < 10. I removed this condition for now for the sake of consistency in the UI.

            People

            • Assignee:
              mari tilos
              Reporter:
              David Greenberg

              Dates

              • Created:
                Updated:
                Resolved: