Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-961

Do not hardcode the fields which can be used as FULLTEXT filter in content views

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.9, 3.0.0
    • Component/s: Layouts
    • Release Notes Summary:
      Any field is usable as a FULLTEXT filter in nuxeo-data-table.
    • Tags:
    • Backlog priority:
      800
    • Sprint:
      nxGang Sprint 11.1.11
    • Story Points:
      5

      Description

      One can add a filter on a content view column with

      <nuxeo-data-table-column name="My Field" field="schema:field" sort-by="schema:field" filter-by="title">

      But if the value for the filter-by attribute is different than title or fulltext, the * character is not automatically added.

      The behavior is hardcoded because of https://github.com/nuxeo/nuxeo-ui-elements/blob/maintenance-2.4.x/nuxeo-page-provider-display-behavior.html#L420

      Expected behavior: it should be possible to use the filter-by attribute with any field. The nuxeo-data-table-column could expose a new attribute to indicate that we won't the FULLTEXT behavior.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours, 45 minutes
                  1d 3h 45m