Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3542

Update widget helpers to support filters

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Updates should be made to both the widget and client_widget helpers to support the generation and display of a filter form.

      1. New property: private InputFields $filters;
      2. New property: private string $filter_html;
      3. New property: private string $filter_uri;
      4. New method: public function setFilters(InputFields $filters, $uri = null) {}
      5. New method: public function setFilterHtml($html) {}
        • The $filter_html should only be used if $filters is not set
      6. A new toggle button should be added to the widget
      7. The toggle button should automatically be added to the $link_buttons when setFilters() or setFilterHtml()
        • Make sure not to overwrite the currently set buttons
        • We may have to figure something out to keep this separate so that users don't overwrite this button

        Issue Links

          Activity

            People

            • Assignee:
              jonathan Jonathan Reissmueller
              Reporter:
              jonathan Jonathan Reissmueller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                7/May/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 51 minutes
                1d 1h 51m

                  Agile