Also what makes you think this setting should work? It's not documented
AFAICT, but the way to control default search fields is controlled by
‘$config['search_mods']’ but per
https://github.com/roundcube/roundcubemail/issues/7556
“doesn't work for scope”.  That upstream issue is still open and the PR
implementing this was never merged in:
https://github.com/roundcube/roundcubemail/pull/5209 .

OK, so it looks like what happened is I must hacked in that patch to the 1.3 version many moons ago to get that functionality working and that bit of code in the config file is some cruft left over. My server was recently upgraded to bullseye. The upgrade broke my hack.

That said, there must still be a bug because roundcube is supposed to remember the search scope feature from the $_SESSION variable and it's not doing that. Looking at the PHP code, roundcube is most certainly intended to has this ability. If you manually refresh the page after selecting a different folder the setting does, in fact, kick in.

The $_SESSION variable for search_scope gets ignored and overridden by some javascript. And replacing app.min.js with app.js fixes the problem. Why that fixes the problem, I have no earthly idea.

Reply via email to