Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-467

Name & Description search filter doesn't work with extra spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • MTA 7.0.2
    • MTA 6.1.0
    • UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      When we try to search any application by "Name" or "Description" filter on the "Application Inventory" page, it doesn't work if extra spaces are there in the search text.

      Version-Release number of selected component (if applicable):
      MTA 6.1.0-16

      How reproducible:
      Always

      Steps to Reproduce:
      1. Create some apps in the Application inventory page.
      2. Now, try to search an application , lets say the name is "myapp", search "app" in the filter and press "Enter"
      3. The application is visible in the search results.
      4. Now, update the search text to "<space>app" and press Enter.

      Actual results:

      The search results are empty and the application is not shown in results.

      Expected results:
      The search input should be trimmed properly and the application should be visible in the results.

      Additional info:
      *Above scenario is valid for both Name & Description.

      Also, this issue is present on the filters available on Other Pages as well.*

        1. image-2023-07-18-10-06-10-813.png
          32 kB
          Neil Hamza
        2. image-2023-07-18-10-07-18-031.png
          15 kB
          Neil Hamza
        3. Screen Recording 2023-12-11 at 2.56.31 PM.mov
          13.92 MB
          Ian Bolton
        4. Selection_284.png
          26 kB
          Igor Braginsky
        5. Selection_285.png
          17 kB
          Igor Braginsky

              ibolton@redhat.com Ian Bolton
              rhn-support-ssingla Sachin Singla
              Maayan Hadasi Maayan Hadasi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: