Skip to content

Commit

Permalink
Update search index in hide cronjob (ezsystems#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkamps authored Jun 27, 2018
1 parent bdca355 commit 3298b53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cronjobs/hide.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
{
$cli->output( 'Hiding node: "' . $node->attribute( 'name' ) . '" (' . $node->attribute( 'node_id' ) . ')' );
eZContentObjectTreeNode::hideSubTree( $node );

//call appropriate method from search engine
eZSearch::updateNodeVisibility( $node->attribute( 'node_id' ), 'hide' );
}
// clear memory after every batch
eZContentObject::clearCache();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ eZOEPopupUtils.settings.onInitDoneArray.push( function( editorElement )
ezoeLinkAttribute.timeOut = setTimeout( eZOEPopupUtils.BIND( ezoeLinkAttribute.ajaxCheck, this, url[0] + '_' + id, lid ), 320 );
return true;
});
inp.keyup();
// setup navigation on bookmark / browse / search links to their 'boxes' (panels)
jQuery( 'a.atr_link_search_link, a.atr_link_browse_link, a.atr_link_bookmark_link' ).click( function(){
Expand Down

0 comments on commit 3298b53

Please sign in to comment.