Joomla-cms: [com_fieds] default values not searchable

Created on 27 Nov 2017  路  8Comments  路  Source: joomla/joomla-cms

Steps to reproduce the issue

Make custom field (text type) with default value (zzzzzz, for example).
Make article with custom field with default value (don't change it!), save article.
Try search for default custom field value (zzzzzz).

Expected result

Link to item in search result.

Actual result

Nothing found.

System information (as much as possible)

Search seeking in database for values of fields, but 'default' values not saved in it.
It's just link to actual value storied in custom field properties.

Additional comments

This is important issue because not only search but filter also cant find default values (same people made filter for blog and find this issue).
So its necessary to save real value of custom fields (all of them) in DB on article saving.

No Code Attached Yet

Most helpful comment

Related #18546

All 8 comments

similar to #17294?

No, its different. My is about empty search result in custom fields with default value.
'Default value' is keyword.

Related #18546

This PR #18891 would fix this too??

This PR #18891 would fix this too??

Yes.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18889.

Yes

@effrit Please close this issue and test PR #18891 and submit your test result here: https://issues.joomla.org/tracker/joomla-cms/18891 Thanks.

PR #18891

Was this page helpful?
0 / 5 - 0 ratings