User tests: Successful: Unsuccessful:
Pull Request for Issue #19194 .
Do not replace &
by &
in URL in JRoute::_(...)
when comparing to $_SERVER['REQUEST_URI']
Test issue #19194
When SEF is off.
Active class will appear when we are on the category page.
When SEF is off active class in (<li class="active">
) is missing.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Modules Front End |
Labels |
Added:
?
|
@joomdonation Your suggestion is good, thanks.
I have tested this item
I have tested this item
@joomdonation can you please retest?
@franz-wohlkoenig It is only coding style to remove an extra space. It does not affect test result.
The last change is just code style, so my test is still success. You can mark this PR as RTC
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-03 00:09:34 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
How do you think about using code like this:
if ($option == 'com_content' && $view == 'category' && $id == $item->id) echo ' class="active"';