Skip to content

Relation filed search not working as before + wrong layout #17391

@radoslavzeman

Description

@radoslavzeman

Bug report

Required System information

  • Node.js version: v16.20.1
  • NPM version: 7.24.2
  • Strapi version: 4.11.7
  • Database: postgres
  • Operating system: macOS Ventura
  • Is your project Javascript or Typescript: ts

Describe the bug

When searching in relation field, it returns results matching only beginning of the "relation display field". Before, it matched all results.

E.g. we have childPages, using path as main relations display field. Typing ubytovanie should return bratislava-pre-ukrajinu/ubytovanie but it doesn't.

Choosing some relations manually works. Search matching the beginning works.

But the layout is somehow broken.

Steps to reproduce the behavior

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Search in relations field should work correctly. The layout should display correctly.
It would be nice if it also ignores accents (áéšťýö etc...)

Screenshots

image
image

image

Metadata

Metadata

Labels

issue: bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundsource: core:content-managerSource is core/content-manager packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions