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

Add option to config file to allow all pagination option

    Details

      Description

      Update Pagination to add a 'all' option under 'navigation' similar to 'last', default to 'show' 'never'. If set to if_needed it will be shown IFF there is > 1 page of results. This link would simply contain a page value of '0' to indicate all results.

      Next, update the blesta config to include an option for enabling this feature. This will work similar to Blesta.pagination_ajax, only defining the setting to set 'all' to be shown.

      Finally, we update Invoices, Services, and Transactions in the admin and client interface to include this config setting along with other config setting.

        Activity

        Hide
        admin Paul Phillips added a comment -

        This should work in the client and admin area for all areas that have a pagination.

        Show
        admin Paul Phillips added a comment - This should work in the client and admin area for all areas that have a pagination.
        Hide
        jonathan Jonathan Reissmueller added a comment -

        So that is a lot of implementation detail. The essence is this, correct?

        Add an 'all' button that shows all results, ignoring pages.
        Add a config option for whether to show this button.
        Edit the back end logic.

        Show
        jonathan Jonathan Reissmueller added a comment - So that is a lot of implementation detail. The essence is this, correct? Add an 'all' button that shows all results, ignoring pages. Add a config option for whether to show this button. Edit the back end logic.

          People

          • Assignee:
            Unassigned
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: