Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-1490

Fix full text input requiring Enter key press in Default search

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.1.0
    • Fix Version/s: 3.0.35, 3.1.11
    • Component/s: Web UI

      Description

      After disabling auto search on nuxeo-default-search-form, the fulltext input is only applied when pressing the enter key - it should also be applied when clicking the Search button.

      Steps to Reproduce:

      1. Include the following in your custom *-bundle.html file to disable auto search on the Default search form:
        <!-- Disable auto on default search -->
        <nuxeo-slot-content name="defaultSearchMenuPage" slot="DRAWER_PAGES">
          <template>
            <nuxeo-search-form
              name="defaultSearch"
              search-name="default"
              provider="default_search"
              schemas="dublincore,common,file,uid"
            ></nuxeo-search-form>
          </template>
        </nuxeo-slot-content>
      2. Navigate to Default search drawer button.
      3. Fill the Full Text input widget with a value
      4. Click the Search button without pressing the enter key beforehand

      Expected result: fulltext input is applied and search returns corresponding results.

      Actual result: fulltext input is not applied, search is executed with prior parameters.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 1 day, 5 hours
                  1w 1d 5h
                  Remaining:
                  Time Spent - 1 week, 2 hours Remaining Estimate - 1 day, 3 hours
                  1d 3h
                  Logged:
                  Time Spent - 1 week, 2 hours Remaining Estimate - 1 day, 3 hours
                  1w 2h