Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5720

Virtualization cpu and memory sort use incorrect query params

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-Nov-22, 2024Q4
    • None
    • UI
    • None

      The hidden columns "CPU" and "Memory" in the OCPvm table can be clicked to perform a sort action, but that results in a "undefined" query param int the API request to backend

      [...]filter[resolution]=monthly&filter[time_scope_units]=month&filter[time_scope_value]=-1&limit=10&offset=0&order_by[undefined]=asc

      Which returns a 400 bad request so the UI will display unavailable

       

      CPU and memory sorting should use request_cpu or request_memory query params

              dlabrecq@redhat.com Daniel Labrecque
              rh-ee-plopezpe Pedro Lopez Perez
              Pedro Lopez Perez Pedro Lopez Perez
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: