How to reset Preferences -> Search options?

Hi everyone,

Is there a way to reset the user’s Preferences → Search options to the
$DefaultSearchResultFormat? A “Defaults” button on the
SearchOptions.html page, for example, could be handy.

Thansk,
js.
Jean-Sebastien Morisset, Sr. UNIX Administrator jsmoriss@mvlan.net

Hi everyone,

Is there a way to reset the user’s Preferences → Search options to the
$DefaultSearchResultFormat? A “Defaults” button on the
SearchOptions.html page, for example, could be handy.

I’ve been able to add the button, but it screws up the display some:

diff ./share/html/Prefs/SearchOptions.html

./local/html/Prefs/SearchOptions.html
67a68,75

<& /Elements/Submit, Name => 'SavePreferences', Label => loc('Reset to Defaults') &>

Any idea how I can tuck the “Save Changes” and “Reset to Defaults”
button together?

Thanks,
js.
Jean-Sebastien Morisset, Sr. UNIX Administrator jsmoriss@mvlan.net

Hi everyone,

Is there a way to reset the user’s Preferences → Search options to the
$DefaultSearchResultFormat? A “Defaults” button on the
SearchOptions.html page, for example, could be handy.

I’ve been able to add the button, but it screws up the display some:

diff ./share/html/Prefs/SearchOptions.html

./local/html/Prefs/SearchOptions.html
67a68,75

<& /Elements/Submit, Name => 'SavePreferences', Label => loc('Reset to Defaults') &>

Any idea how I can tuck the “Save Changes” and “Reset to Defaults”
button together?

So this isn’t pretty, but it works.

diff ./share/html/Prefs/SearchOptions.html ./local/html/Prefs/SearchOptions.html

65c65,68
< <& /Elements/Submit, Name => ‘SavePreferences’, Label => loc(‘Save
Changes’) &>

66a70,78

js.
Jean-Sebastien Morisset, Sr. UNIX Administrator jsmoriss@mvlan.net