Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-5438

[Stage.quay.io] filter doesn't work as expected when trigger filter after locating non first page first

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      In stage.quay.ion new UI, when there are more than 10 organizations in Organizations table and set '10 per page',  these organizations should be located in two pages.  When user locates in the first page first and filter some organizations,  the filter works as expected. but when user locates in the second page first then filter the same organizations,  the filter won't work as expected. 

      How reproducible:

      always

      Steps to Reproduce:

       

      1.  Create 15 organizations in stage.quay.ion new UI and set  '10 per page'.  

      These organizations are

      quay_qe
      demo
      orga
      quayorg8524575720816696
      quayorg7475942220358405
      quayorg17898293754161
      quayorg7447801867349331
      quayorg6328808202930838
      quayorg7924187572567136
      quayorg7880769567647985
      quayorg2707549640472408
      quayorg3766993988183869
      quayorg9695232311766376
      quayorg3482600519162850
      quayorg7880769567647988

      The first page of Organization table

      The second page of Organization table

       

      2. Locate in the first page first and input 'quayorg7' in filter input box.  check filter results

      Locate in the first page of Organization table

       

      Filter organizations with prefix 'quayorg7'

       

      3. Locate in the second page first and input 'quayorg7' in filter input box.  check filter results

      Locate in the second page of Organization table

      Filter organizations with prefix 'quayorg7'

       

      Actual results:

      When locate in the first page first then filter target organizations, can get expected results. But located in the second page first then filter target organizations, can NOT get expected results. 

      Expected results:

      No matter locate which page first , should filter out expected organizations successfully. 

      Additional info:

      In the last picture, we can see,  the new UI not only fails to filter out expected organizations, the pagination isn't correct either. it displays as '11-5 of 5'.

        1. Screenshot from 2023-05-05 10-11-47.png
          90 kB
          Weihua Hu
        2. Screenshot from 2023-05-05 10-12-12.png
          75 kB
          Weihua Hu
        3. Screenshot from 2023-05-05 10-12-45.png
          66 kB
          Weihua Hu
        4. Screenshot from 2023-05-05 10-13-08.png
          65 kB
          Weihua Hu
        5. Screenshot from 2023-05-05 10-13-30.png
          51 kB
          Weihua Hu
        6. Screenshot from 2023-05-05 10-14-06.png
          27 kB
          Weihua Hu

              Unassigned Unassigned
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: