mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-20 11:05:08 +00:00
Fix for issue 42229 - webservices content patch tags lost (#42233)
* Fix for issue 42229 - webservices content patch tags lost * cs
This commit is contained in:
parent
3b13b2433b
commit
8ec5c35142
|
@ -11,6 +11,7 @@
|
|||
namespace Joomla\Component\Content\Api\Controller;
|
||||
|
||||
use Joomla\CMS\Filter\InputFilter;
|
||||
use Joomla\CMS\Helper\TagsHelper;
|
||||
use Joomla\CMS\MVC\Controller\ApiController;
|
||||
use Joomla\Component\Fields\Administrator\Helper\FieldsHelper;
|
||||
|
||||
|
@ -114,6 +115,10 @@ class ArticlesController extends ApiController
|
|||
}
|
||||
}
|
||||
|
||||
$tags = new TagsHelper();
|
||||
$tags->getTagIds($data['id'], 'com_content.article');
|
||||
$data['tags'] = explode(',', $tags->tags);
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user