User tests: Successful: Unsuccessful:
Removes this particular redundant condition, since this condition always failed and hence the actual labels were never rendered.
Further, this condition was being used as a fallback in case there wasn't any label present. But no fallback was actually required since in case there wasn't any label defined, it was already set to the default "search".
Also, $filters['filter_search']->label
isn't a label value, rather an html label
element.
joomla-cms/layouts/joomla/searchtools/default/bar.php
Lines 42 to 48 in e317fe2
label
element below the input
field.This could be tested in other categories as well which uses search from layouts/joomla/searchtools
.
Default "search" label is displayed.
Actual label should be displayed.
Discovered this issue through PR #32660.
Status | New | ⇒ | Pending |
Category | ⇒ | Layout |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-03-14 15:47:05 |
Closed_By | ⇒ | chmst | |
Labels |
Thanks!
Welcome!
I have tested this item✅ successfully on 14bcf96
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32670.