Skip to content

Commit 4ad6eb9

Browse files
authored
fix(content-search): fixed content search by title (dotCMS#32194)
Closes dotCMS#31969 ### Proposed Changes * This pull request includes a small change to the `ContentSelector.js` file. The change removes the assignment of the `structureVelVar` property in the `_renderSearchField` method, because it was already set in `_structureDetailsCallback` method after a content type is selected in the search window. * This assignment removal also avoids setting `structureVelVar` to undefined when `field['fieldStructureVarName']` is not set, that was causing this issue.
1 parent 6c94b0b commit 4ad6eb9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dotCMS/src/main/webapp/html/js/dotcms/dijit/form/ContentSelector.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ dojo.declare(
366366

367367
var fieldVelocityVarName = field['fieldVelocityVarName'];
368368
var fieldContentlet = field['fieldContentlet'];
369-
this.structureVelVar = field['fieldStructureVarName'];
370369
var value = '';
371370

372371
var type = field['fieldFieldType'];

0 commit comments

Comments
 (0)