? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
8 Jun 2020

Summary of Changes

Fixes filtering banners by keywords. Similar to #29466.

Testing Instructions

Create a banner client.
Create a banner. Assign to a client. Add a keyword, e.g. Joomla.
Set some keywords for the document. Make sure the last keyword is not the same as the one set in the banner. E.g. add this to templates/cassiopeia/index.php:

$this->setMetadata('keywords', 'Joomla, CMS');

Publish a banner module. Enable Select by Keyword option.
View the module in frontend.

Expected result

Banner shown.

Actual result

Banner not shown.

Documentation Changes Required

avatar SharkyKZ SharkyKZ - open - 8 Jun 2020
avatar SharkyKZ SharkyKZ - change - 8 Jun 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2020
Category Front End com_banners
avatar ChristineWk
ChristineWk - comment - 12 Jun 2020

banner
Was not sure where to add,
So, added above line (Instructions) templates/cassiopeia/index.php: to this place:
$app = Factory::getApplication();
$lang = $app->getLanguage();
$wa = $this->getWebAssetManager();
$this->setMetadata('keywords', 'Joomla, CMS');

avatar ChristineWk ChristineWk - test_item - 12 Jun 2020 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 12 Jun 2020

I have tested this item successfully on 1c6a570


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

avatar wilsonge wilsonge - change - 12 Jun 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-06-12 23:52:40
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 12 Jun 2020
avatar wilsonge wilsonge - merge - 12 Jun 2020
avatar wilsonge
wilsonge - comment - 12 Jun 2020

Thanks!

Add a Comment

Login with GitHub to post a comment