User tests: Successful: Unsuccessful:
Pull Request for Issue #10712 .
Select only published tags from the database by adding $query->where('a.published = 1');.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Plugins Tags |
I have tested this item
I have tested in Joomla 3.5.1 and patch works perfectly.
I have tested this item
It works perfect after applying path.
It has two successful tests, but as per @infograf768 suggestion, I agree that $query->where('a.published = 1'); should be outside of the condition. Also, I would like to suggest below code to use quoteName
.
$query->where($db->qn('a.published') . ' = 1');
Thanks for fixes.
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Milestone |
Added: |
@brianteeman Please remove RTC, see comments by @infograf768 and @gunjanpatel .
Labels |
Removed:
?
|
Done
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Pending |
Labels |
Back to pending
Labels |
Removed:
?
|
Please update your PR
This PR has received new commits.
CC: @gunjanpatel, @hardiktasol
Milestone |
Removed: |
I have tested this item
Tested successfully.
As the previously tested PR has been updated and confirmed by @gunjanpatel I am setting this back to RTC
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
|
Milestone |
Added: |
Thank you @infograf768, @gunjanpatel for your suggestions.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-06-15 22:58:11 |
Closed_By | ⇒ | wilsonge |
Labels |
Removed:
?
|
Merged :) Thanks very much!
Looking at code, I think you should separate the query for published, and leave alone the code with
if ($app->isSite() && JLanguageMultilang::isEnabled())
as this is done in the other search plugins.I.e. should be: