Uploaded image for project: 'Community Dashboard Framework'
  1. Community Dashboard Framework
  2. CDF-881

TableComponent with paginateServerSide set to true, will trigger 2 queries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0 GA
    • Component/s: None
    • Labels:
      None
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      A TableComponent with paginate server side set to true, will trigger 2 queries on startup, instead of just one.
      This seems to be because of fnServerData being called when dataTables initiates -> https://github.com/webdetails/cdf/blob/master/pentaho-js/src/main/javascript/cdf/components/TableComponent.js#L534

      Attaching dashboard sample showing the issue.

        Attachments

          Activity

            People

            • Assignee:
              wfaulkner William Faulkner
              Reporter:
              jvelasques Joao Velasques (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: