Skip to content

BeechCMS


BeechCMS / @beechcms/core / resolveSearchSupport

Function: resolveSearchSupport() ​

resolveSearchSupport(seed, lookup?): SearchSupport

Decides how seed can be searched. FTS wins when available; otherwise a single relation display name is searched through the target's display name, provided that column is plain, unlocalized, unencrypted text.

Parameters ​

seed ​

Seed

The seed being listed.

lookup? ​

SeedLookup

Resolves relation targets; without it the relation mode is never chosen.

Returns ​

SearchSupport