mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:45:56 +00:00
use DEFAULT_SEARCH_LANGUAGE to generate tsvector index if per-feed language is not specified, also use it as default value on search form for convenience
This commit is contained in:
@@ -733,7 +733,7 @@ class Feeds extends Handler_Protected {
|
||||
if (DB_TYPE == "pgsql") {
|
||||
print "<fieldset>";
|
||||
print "<label class='inline'>" . __("Language:") . "</label>";
|
||||
print_select("search_language", "", Pref_Feeds::get_ts_languages(),
|
||||
print_select("search_language", get_pref('DEFAULT_SEARCH_LANGUAGE'), Pref_Feeds::get_ts_languages(),
|
||||
"dojoType='dijit.form.Select' title=\"".__('Used for word stemming')."\"");
|
||||
print "</fieldset>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user