User tests: Successful: Unsuccessful:
Smart Search tries to create its own language keys for the indexed taxonomies. Unfortunately, when there is no language string for the key, we get a "Search by PLG_FINDER_QUERY_FILTER_BRANCH_S_SOMETHING" in the search form in the frontend. This PR checks if a translation for the language key exists and if there is none (and debug is not enabled) it will instead display the taxonomy title instead.
$item->addTaxonomy('Test', 'Strange');
after line 342.Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_finder |
Labels |
Added:
?
|
Title |
|
Enable debugging and see that the string didn't change.
Apply PR.
See that the string didn't change with debugging enabled.
Disable debugging.
Or can just reindex again
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-03-03 02:46:03 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
?
|
Thx
I have tested this item✅ successfully on ee8d768
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36748.