Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3164

Searching for an option template searches within option values too

    Details

      Description

      When searching for an option template to apply to a product, the item finder component is also searching within the option values. We should only search within option templates to avoid confusing/irrelevant results.

      Steps to Reproduce

      1. Create an option template (Control Panel → Products → Options)
      2. Give the option template a unique name, e.g. DXVXB8V2F8
      3. Fill out the rest of the required fields in order to create the option template
      4. Add an option value with a unique name, e.g. PC9PX0CUK4
      5. Go to a new or existing product's option management (Control Panel → Products → [Product] → Options)
      6. Search for the option value name, e.g. PC9PX0CUK4

      Expected Behavior

      The option DXVXB8V2F8 does not show up in the results because the user was not searching for it

      Actual Behavior

      The option DXVXB8V2F8 does show up in the results

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              riccardo.alberti Riccardo Alberti
              Reporter:
              corbin.murakami Corbin Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.0