Merge pull request #7993 from Ultimaker/CURA-7122_Include_description_in_search_field

Let search field also look through the description
This commit is contained in:
Nino van Hooff 2020-06-30 14:04:10 +02:00 committed by GitHub
commit 7a37803ae4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ Item
onEditingFinished:
{
definitionsModel.filter = {"i18n_label": "*" + text}
definitionsModel.filter = {"i18n_label|i18n_description" : "*" + text}
findingSettings = (text.length > 0)
if (findingSettings != lastFindingSettings)
{