Skip to content

mcv: Collect direct callers of UIModelGrid() to remove backwards compat in fetchBindRequest() #9797

@Monviech

Description

@Monviech

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

// XXX: backwards compatible for direct callers that do not know about search_tokens
if ($search_tokens === null) {
$search_tokens = array_filter(explode(' ', $request->get('searchPhrase', 'string', '')));
}

Introduced in: 7738d7e

Describe the solution you like

List of all callers in core and plugins to clean this up and remove backwards compat of fetchBindRequest by using the new search_tokens parameter or moving the caller up to searchBase()

Callers

$grid = new UIModelGrid($this->getModel()->templates->template);
return $grid->fetchBindRequest($this->request, ["name", "fileid"], "name");

Metadata

Metadata

Assignees

Labels

cleanupLow impact changes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions