By LAC Webadmin on Tuesday, 01 May 2018
Posted in General Issues
Replies 6
Likes 0
Views 567
Votes 0
Hello There!

I just noticed that when I unpublished a video in the backend, it seems like it does not trigger an event to unpublished the finder item for that video that I unpublished.

Doesn't it supposed to trigger a plugin to unpublished an item in the finder search index?

I have not tested this on all ES content type but I think it should trigger onAfterContentUpdate something event for Finder and unpublished or delete or whatever.

Thanks,

Jackson
Hey there,

I am really sorry for the delay of this reply as it is a public holiday for us here.

It seems like the current Joomla doesn't have an event trigger for diable the indexed item during unpublish/publish process, even when you unpublish Joomla article/category from backend, those indexed item still shown to published state.
·
Tuesday, 01 May 2018 09:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I think you missed the onContentChangeState() method in plugins/content/finder/finder.php that is the event that triggers when an item is unpublished or published in Joomla Articles.

I know there is an event because I created a plugin for JEvents that triggers that event when an event item is unpublished or published.

Thanks,

Jackson
·
Wednesday, 02 May 2018 00:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for your input, based on what i see Joomla finder method, it seems like they allow to call change
method, so it will update the `state` to unpublish/published state from the #__finder_links table, it will still appear to published on the backend smart search indexed listing page, but when the user trying to search this item on the smart search engine, it will not show any result.

JoomlaFolder/administrator/components/com_finder/helpers/indexer/adapter.php

By the way, I will lock this into our issue tracker and see if we can do something about this in the future update.
·
Wednesday, 02 May 2018 11:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post