In D24369 I introduced a regression: Where now the searchbox is updated on url changes for search urls, it is not updated anymore for regular folders. The effect is that not-indexed folders can have the extra options enabled or vice-versa. This patch fixes it, moving back the updating logic to setSearchModeEnable.
@elvisangelaccio, if you would like to revert that commit to keep the history cleaner I can rebase this one.
I'm really sorry for the inconvenience.