Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1257

Fix refresh of paginated nuxeo-data-table after clearing the filters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.0, 3.0.1
    • Fix Version/s: None
    • Component/s: UI

      Description

      Steps to reproduce:

      1. modify the element "nuxeo-document-content" to have a pagination on the results
      2.  create 6 documents in a folder, 3 of them must contain the same word in their title, like "note 1" "note 2" and "note 3"
      3. observe that the pagination displays 2 pages, with 4 results and 4 lines on page 1 and 2 results and 2 lines on page 2
      4. enter a keywork in the "title" filter: use the word shared by the 3 documents at step 2
      5. observe that the table is correctly refreshed with 3 results and 3 lines in the table
      6. clear the filter

      Observe that 4 items are displayed (as controlled by the pagination) but we have 6 lines, which correspond to the total number of results

       

      Expected behavior: after clearing the results, the table should display 4 items and 4 lines, as controlled by the pagination.

       

      A video is attached to show the problem.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 3 hours, 50 minutes
                  2d 3h 50m